Build Information
Failed to build SwiftMarkdown, reference main (aee5f0), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 13:25:25 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/markdown.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aee5f05 Use the modern CI (#16)
Cloned https://github.com/vapor-community/markdown.git
Revision (git rev-parse @):
aee5f0590bb3114298e579192b678d18ab8f4b76
SUCCESS checkout https://github.com/vapor-community/markdown.git at main
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.39s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (2.09s)
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": "markdown",
"name": "SwiftMarkdown",
"url": "https://github.com/vapor-community/markdown.git",
"version": "unspecified",
"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": [
]
}
]
}
]
}
Fetching https://github.com/vapor-community/markdown.git
[1/245] Fetching markdown
Fetched https://github.com/vapor-community/markdown.git from cache (0.67s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.45s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.52s)
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/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at main (aee5f05)
warning: '.resolve-product-dependencies': dependency 'markdown' is not used by any target
Found 1 product dependencies
- cmark
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/vapor-community/markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/36] Write swift-version--6988338F2F200930.txt
[1/36] Compiling cmark cmark_ctype.c
[2/36] Compiling cmark core-extensions.c
[3/36] Compiling cmark houdini_html_e.c
[4/36] Compiling cmark houdini_href_e.c
[5/36] Compiling cmark cmark.c
[6/36] Compiling cmark tasklist.c
[7/36] Compiling cmark tagfilter.c
[8/36] Compiling cmark footnotes.c
[9/36] Compiling cmark table.c
[10/36] Compiling cmark utf8.c
[11/36] Compiling cmark syntax_extension.c
[12/36] Compiling cmark strikethrough.c
[13/36] Compiling cmark registry.c
[14/36] Compiling cmark render.c
[15/36] Compiling cmark ext_scanners.c
[16/36] Compiling cmark plugin.c
[17/36] Compiling cmark references.c
[17/36] Compiling cmark xml.c
[19/36] Compiling cmark plaintext.c
[20/36] Compiling cmark map.c
[21/36] Compiling cmark node.c
[22/36] Compiling cmark linked_list.c
[23/36] Compiling cmark scanners.c
[24/36] Compiling cmark man.c
[25/36] Compiling cmark iterator.c
[26/36] Write sources
[27/36] Compiling cmark latex.c
[28/36] Compiling cmark html.c
[29/36] Compiling cmark inlines.c
[30/36] Compiling cmark commonmark.c
[31/36] Compiling cmark houdini_html_u.c
[32/36] Compiling cmark arena.c
[32/36] Compiling cmark buffer.c
[34/36] Compiling cmark blocks.c
[35/36] Compiling cmark autolink.c
[37/38] Emitting module SwiftMarkdown
[38/38] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/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 {
BUILD FAILURE 6.3 macosSpm