The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LeafMarkdown, reference 3.0.1 (ecec9a), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 01:54:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/leaf-markdown.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/leaf-markdown
 * tag               3.0.1      -> FETCH_HEAD
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 3.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/leaf-markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/64] Write swift-version-1EA4D86E10B52AF.txt
[0/64] Copying PrivacyInfo.xcprivacy
[3/64] Compiling cmark cmark_ctype.c
[4/64] Compiling cmark syntax_extension.c
[5/64] Compiling cmark xml.c
[6/64] Compiling cmark cmark.c
[6/64] Compiling cmark tasklist.c
[8/64] Compiling cmark buffer.c
[9/64] Compiling cmark tagfilter.c
[10/64] Compiling cmark registry.c
[11/64] Compiling cmark strikethrough.c
[12/64] Compiling cmark references.c
[13/64] Compiling cmark utf8.c
[14/64] Compiling cmark render.c
[15/64] Compiling cmark table.c
[16/64] Compiling cmark plugin.c
[17/64] Compiling cmark blocks.c
[18/64] Compiling cmark plaintext.c
[19/64] Compiling cmark linked_list.c
[20/64] Compiling cmark node.c
[21/64] Compiling cmark man.c
[22/64] Compiling cmark map.c
[23/64] Compiling cmark iterator.c
[24/64] Compiling cmark latex.c
[25/64] Compiling cmark scanners.c
[26/64] Compiling cmark houdini_html_e.c
[27/64] Compiling cmark html.c
[28/64] Write sources
[31/64] Compiling cmark inlines.c
[32/64] Compiling cmark houdini_href_e.c
[33/64] Compiling cmark footnotes.c
[33/64] Write sources
[38/64] Compiling cmark houdini_html_u.c
[40/64] Write sources
[42/64] Compiling cmark core-extensions.c
[42/64] Write sources
[49/64] Compiling cmark ext_scanners.c
[50/64] Compiling CSystem shims.c
[51/64] Compiling CNIOWindows shim.c
[52/64] Compiling CNIOWindows WSAStartup.c
[53/64] Compiling cmark arena.c
[54/64] Compiling _AtomicsShims.c
[55/64] Compiling cmark commonmark.c
[56/64] Compiling CNIOWASI CNIOWASI.c
[57/64] Compiling CNIOLinux shim.c
[58/64] Write sources
[59/70] Compiling CNIOLinux liburing_shims.c
[60/84] Compiling cmark autolink.c
[61/133] Compiling CNIODarwin shim.c
[63/133] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/134] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[65/134] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[66/134] Compiling InternalCollectionsUtilities Debugging.swift
[67/134] Compiling InternalCollectionsUtilities Descriptions.swift
[68/134] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[69/134] Compiling _NIODataStructures PriorityQueue.swift
[70/134] Compiling _NIODataStructures _TinyArray.swift
[71/134] Emitting module InternalCollectionsUtilities
[72/134] Compiling Atomics OptionalRawRepresentable.swift
[73/134] Compiling Atomics RawRepresentable.swift
[74/134] Emitting module SwiftMarkdown
[75/134] 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 {
[75/134] Compiling c-nioatomics.c
[76/134] Emitting module _NIODataStructures
[77/134] Compiling Atomics PointerConformances.swift
[78/134] Compiling Atomics Primitives.native.swift
[78/134] Compiling c-atomics.c
[79/134] Emitting module _NIOBase64
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/vapor-community/markdown.git
[1/4938] Fetching leaf-kit
[3507/5184] Fetching leaf-kit, markdown
Fetched https://github.com/vapor/leaf-kit.git from cache (1.15s)
Fetched https://github.com/vapor-community/markdown.git from cache (1.15s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.66s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.22s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.77s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.42s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (4.25s)
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/1797] Fetching swift-atomics
[289/6233] Fetching swift-atomics, swift-system
[603/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.71s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.71s)
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.46s)
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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 0.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.13.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.2.0
BUILD FAILURE 6.2 macosSpm