Build Information
Failed to build LeafMarkdown, reference main (ecec9a), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 10:05:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/leaf-markdown.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/leaf-markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ecec9a9 Update for UnsafeUnescapedLeafTag
Cloned https://github.com/vapor-community/leaf-markdown.git
Revision (git rev-parse @):
ecec9a93102139609aa5a84c51990fc305fbc1d6
SUCCESS checkout https://github.com/vapor-community/leaf-markdown.git at main
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/5030] Fetching leaf-kit
[102/5275] Fetching leaf-kit, markdown
Fetched https://github.com/vapor-community/markdown.git from cache (0.97s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.97s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.65s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.36s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.02s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.55s)
Fetching https://github.com/apple/swift-nio.git
[1/83106] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (9.37s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[456/25345] Fetching swift-atomics, swift-collections
[457/30946] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.11s)
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.65s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.2
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "leaf-markdown",
"name": "LeafMarkdown",
"url": "https://github.com/vapor-community/leaf-markdown.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/leaf-markdown",
"traits": [
"default"
],
"dependencies": [
{
"identity": "markdown",
"name": "SwiftMarkdown",
"url": "https://github.com/vapor-community/markdown.git",
"version": "0.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/markdown",
"traits": [
"default"
],
"dependencies": [
{
"identity": "cmark-gfm",
"name": "cmark",
"url": "https://github.com/brokenhandsio/cmark-gfm.git",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cmark-gfm",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "leaf-kit",
"name": "leaf-kit",
"url": "https://github.com/vapor/leaf-kit.git",
"version": "1.14.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/leaf-kit",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.97.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/vapor-community/leaf-markdown.git
[1/644] Fetching leaf-markdown
Fetched https://github.com/vapor-community/leaf-markdown.git from cache (0.73s)
Fetching https://github.com/vapor-community/markdown.git from cache
Fetching https://github.com/vapor/leaf-kit.git from cache
Fetched https://github.com/vapor/leaf-kit.git from cache (0.49s)
Fetched https://github.com/vapor-community/markdown.git from cache (0.49s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.61s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.47s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.58s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.06s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.92s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.60s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.06s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.2
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/vapor-community/leaf-markdown.git
Working copy of https://github.com/vapor-community/leaf-markdown.git resolved at main (ecec9a9)
warning: '.resolve-product-dependencies': dependency 'leaf-markdown' is not used by any target
Found 2 product dependencies
- SwiftMarkdown
- leaf-kit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/vapor-community/leaf-markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/67] Write sources
[4/67] Copying PrivacyInfo.xcprivacy
[6/67] Write sources
[7/67] Copying PrivacyInfo.xcprivacy
[8/67] Write swift-version--6988338F2F200930.txt
[9/67] Compiling cmark arena.c
[10/67] Compiling cmark syntax_extension.c
[11/67] Compiling cmark tagfilter.c
[12/67] Compiling cmark strikethrough.c
[13/67] Compiling cmark table.c
[14/67] Compiling cmark tasklist.c
[15/67] Compiling cmark registry.c
[16/67] Compiling cmark references.c
[17/67] Compiling cmark plugin.c
[18/67] Compiling cmark render.c
[19/67] Compiling cmark utf8.c
[20/67] Compiling cmark plaintext.c
[21/67] Compiling cmark node.c
[22/67] Compiling cmark linked_list.c
[22/67] Compiling cmark map.c
[24/67] Compiling cmark man.c
[25/67] Compiling cmark scanners.c
[26/67] Compiling cmark iterator.c
[27/67] Compiling cmark latex.c
[28/67] Compiling cmark html.c
[29/67] Compiling cmark inlines.c
[30/67] Compiling cmark houdini_html_e.c
[31/67] Compiling cmark houdini_href_e.c
[32/67] Compiling cmark core-extensions.c
[33/67] Compiling cmark footnotes.c
[34/67] Write sources
[36/67] Compiling cmark houdini_html_u.c
[37/67] Compiling cmark ext_scanners.c
[38/67] Compiling cmark xml.c
[39/67] Write sources
[47/67] Compiling cmark cmark_ctype.c
[48/67] Write sources
[49/67] Compiling cmark commonmark.c
[50/67] Compiling cmark cmark.c
[51/67] Compiling cmark buffer.c
[52/67] Compiling CSystem shims.c
[53/67] Compiling CNIOWindows shim.c
[54/67] Compiling _AtomicsShims.c
[55/67] Compiling CNIOWindows WSAStartup.c
[56/67] Compiling cmark blocks.c
[57/73] Compiling CNIOWASI CNIOWASI.c
[58/73] Compiling CNIOLinux shim.c
[59/73] Compiling CNIOLinux liburing_shims.c
[60/73] Compiling CNIOOpenBSD shim.c
[60/73] Write sources
[62/80] Compiling cmark autolink.c
[63/120] Compiling CNIOPosix event_loop_id.c
[64/141] Compiling CNIODarwin shim.c
[66/141] Emitting module SwiftMarkdown
[67/141] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:36:9: error: cannot find 'free' in scope
34 |
35 | buffer = String(cString: buf)
36 | free(buf)
| `- error: cannot find 'free' in scope
37 | }
38 | guard let output = buffer else {
[68/141] Emitting module _NIOBase64
[69/141] Compiling Atomics AtomicValue.swift
[70/141] Compiling Atomics AtomicMemoryOrderings.swift
[71/141] Compiling _NIODataStructures PriorityQueue.swift
[71/141] Compiling c-atomics.c
[71/141] Compiling c-nioatomics.c
BUILD FAILURE 6.3 macosSpm