Build Information
Failed to build swift-markdown, reference main (528d49), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 02:26:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-markdown.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDGGiesbrecht/swift-markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 528d49c track inner indentation for doxygen commands (#118)
Cloned https://github.com/SDGGiesbrecht/swift-markdown.git
Revision (git rev-parse @):
528d49cb5130e9c84081e13e7bd639a011b9f89d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-markdown.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 768]
[Planning deferred tasks]
[139 / 365] swift-markdown_MarkdownTests
[141 / 365]
[151 / 367] cmark-gfm
[174 / 379] cmark-gfm
[192 / 393]
[198 / 393]
[214 / 394]
[228 / 394] cmark-gfm
[239 / 394]
[247 / 399] Markdown
[255 / 451]
[262 / 451]
[267 / 451]
[271 / 451]
[275 / 451]
[277 / 451]
[280 / 451]
[283 / 451]
[285 / 451]
[286 / 451]
[297 / 451] Markdown
[300 / 451] ArgumentParser
[311 / 451] ArgumentParser
[314 / 451] Markdown-product
[317 / 451] ArgumentParser
[319 / 451] ArgumentParser-product
[320 / 451] ArgumentParser-product
[326 / 453] XMLConverter-product
[364 / 459]
[366 / 463] markdown-tool-product
[372 / 474] RemoveElementKind-product
Fetching https://github.com/apple/swift-cmark.git
[1/18599] Fetching swift-cmark
Fetched https://github.com/apple/swift-cmark.git (1.82s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/21263] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (2.65s)
Fetched https://github.com/apple/swift-docc-plugin (2.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (3.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.09s)
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.5.0
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/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at gfm (0c8947b)
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Base/RawMarkup.swift:95:14: [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'RawMarkup'[0;0m
[0;36m91 |[0;0m }
[0;36m92 |[0;0m
[0;36m93 |[0;0m final class RawMarkup: ManagedBuffer<RawMarkupHeader, RawMarkup> {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'RawMarkup' does not conform to the 'Sendable' protocol[0;0m
[0;36m94 |[0;0m enum Error: LocalizedError {
[0;36m95 |[0;0m case concreteConversionError(from: RawMarkup, to: Markup.Type)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'RawMarkup'[0;0m
[0;36m96 |[0;0m var errorDescription: String? {
[0;36m97 |[0;0m switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Base/RawMarkup.swift:95:14: [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'any Markup.Type'[0;0m
[0;36m93 |[0;0m final class RawMarkup: ManagedBuffer<RawMarkupHeader, RawMarkup> {
[0;36m94 |[0;0m enum Error: LocalizedError {
[0;36m95 |[0;0m case concreteConversionError(from: RawMarkup, to: Markup.Type)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'any Markup.Type'[0;0m
[0;36m96 |[0;0m var errorDescription: String? {
[0;36m97 |[0;0m switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Base/RawMarkup.swift:95:14: [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'RawMarkup'[0;0m
[0;36m91 |[0;0m }
[0;36m92 |[0;0m
[0;36m93 |[0;0m final class RawMarkup: ManagedBuffer<RawMarkupHeader, RawMarkup> {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'RawMarkup' does not conform to the 'Sendable' protocol[0;0m
[0;36m94 |[0;0m enum Error: LocalizedError {
[0;36m95 |[0;0m case concreteConversionError(from: RawMarkup, to: Markup.Type)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'RawMarkup'[0;0m
[0;36m96 |[0;0m var errorDescription: String? {
[0;36m97 |[0;0m switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Base/RawMarkup.swift:95:14: [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'any Markup.Type'[0;0m
[0;36m93 |[0;0m final class RawMarkup: ManagedBuffer<RawMarkupHeader, RawMarkup> {
[0;36m94 |[0;0m enum Error: LocalizedError {
[0;36m95 |[0;0m case concreteConversionError(from: RawMarkup, to: Markup.Type)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'concreteConversionError(from:to:)' of 'Sendable'-conforming enum 'Error' contains non-Sendable type 'any Markup.Type'[0;0m
[0;36m96 |[0;0m var errorDescription: String? {
[0;36m97 |[0;0m switch self {
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:49:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'UnorderedListMarker' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m extension MarkupFormatter.Options.UnorderedListMarker: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'UnorderedListMarker' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m50 |[0;0m extension MarkupFormatter.Options.UseCodeFence: ExpressibleByArgument {}
[0;36m51 |[0;0m extension MarkupFormatter.Options.ThematicBreakCharacter: ExpressibleByArgument {}
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:50:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'UseCodeFence' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m extension MarkupFormatter.Options.UnorderedListMarker: ExpressibleByArgument {}
[0;36m50 |[0;0m extension MarkupFormatter.Options.UseCodeFence: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'UseCodeFence' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m51 |[0;0m extension MarkupFormatter.Options.ThematicBreakCharacter: ExpressibleByArgument {}
[0;36m52 |[0;0m extension MarkupFormatter.Options.EmphasisMarker: ExpressibleByArgument {}
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:51:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'ThematicBreakCharacter' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m49 |[0;0m extension MarkupFormatter.Options.UnorderedListMarker: ExpressibleByArgument {}
[0;36m50 |[0;0m extension MarkupFormatter.Options.UseCodeFence: ExpressibleByArgument {}
[0;36m51 |[0;0m extension MarkupFormatter.Options.ThematicBreakCharacter: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'ThematicBreakCharacter' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m52 |[0;0m extension MarkupFormatter.Options.EmphasisMarker: ExpressibleByArgument {}
[0;36m53 |[0;0m extension MarkupFormatter.Options.PreferredHeadingStyle: ExpressibleByArgument {}
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:52:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'EmphasisMarker' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m50 |[0;0m extension MarkupFormatter.Options.UseCodeFence: ExpressibleByArgument {}
[0;36m51 |[0;0m extension MarkupFormatter.Options.ThematicBreakCharacter: ExpressibleByArgument {}
[0;36m52 |[0;0m extension MarkupFormatter.Options.EmphasisMarker: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'EmphasisMarker' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m53 |[0;0m extension MarkupFormatter.Options.PreferredHeadingStyle: ExpressibleByArgument {}
[0;36m54 |[0;0m extension MarkupFormatter.Options.PreferredLineLimit.SplittingElement: ExpressibleByArgument {}
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:53:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'PreferredHeadingStyle' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m51 |[0;0m extension MarkupFormatter.Options.ThematicBreakCharacter: ExpressibleByArgument {}
[0;36m52 |[0;0m extension MarkupFormatter.Options.EmphasisMarker: ExpressibleByArgument {}
[0;36m53 |[0;0m extension MarkupFormatter.Options.PreferredHeadingStyle: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'PreferredHeadingStyle' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m54 |[0;0m extension MarkupFormatter.Options.PreferredLineLimit.SplittingElement: ExpressibleByArgument {}
[0;36m55 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/markdown-tool/Commands/FormatCommand.swift:54:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'SplittingElement' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m52 |[0;0m extension MarkupFormatter.Options.EmphasisMarker: ExpressibleByArgument {}
[0;36m53 |[0;0m extension MarkupFormatter.Options.PreferredHeadingStyle: ExpressibleByArgument {}
[0;36m54 |[0;0m extension MarkupFormatter.Options.PreferredLineLimit.SplittingElement: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'SplittingElement' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Markdown' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m extension MarkdownCommand {
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Snippets/Visitors/XMLConverter.swift:28:1: [1;31merror: [1;39mexpressions are not allowed at the top level[0;0m
[0;36m26 |[0;0m let xml = xmlConverter.visit(document)
[0;36m27 |[0;0m
[0;36m28 |[0;0m print("""
[0;36m|[0;0m `- [1;31merror: [1;39mexpressions are not allowed at the top level[0;0m
[0;36m29 |[0;0m ## Original document structure:
[0;36m30 |[0;0m \(document.debugDescription())
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Snippets/Visitors/XMLConverter.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cmark/src/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/include/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CAtomic.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cmark/src/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/CAtomic/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XMLConverter -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/swift-markdown.build/Debug/XMLConverter-p.build/Objects-normal/arm64/XMLConverter.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm