Build Information
Failed to build LeafMarkdown, reference main (ecec9a
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 01:53:55 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: 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
========================================
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] Copying PrivacyInfo.xcprivacy
[2/64] Write swift-version-1EA4D86E10B52AF.txt
[3/64] Compiling cmark strikethrough.c
[3/64] Compiling cmark xml.c
[4/64] Compiling cmark tagfilter.c
[4/64] Compiling cmark tasklist.c
[7/64] Compiling cmark table.c
[8/64] Compiling cmark render.c
[9/64] Compiling cmark plugin.c
[10/64] Compiling cmark registry.c
[11/64] Compiling cmark map.c
[12/64] Compiling cmark references.c
[13/64] Compiling cmark plaintext.c
[14/64] Compiling cmark node.c
[15/64] Compiling cmark syntax_extension.c
[16/64] Compiling cmark linked_list.c
[17/64] Compiling cmark man.c
[18/64] Compiling cmark iterator.c
[19/64] Compiling cmark latex.c
[20/64] Compiling cmark houdini_html_e.c
[21/64] Compiling cmark html.c
[22/64] Compiling cmark houdini_html_u.c
[23/64] Compiling cmark inlines.c
[24/64] Compiling cmark houdini_href_e.c
[25/64] Compiling cmark utf8.c
[26/64] Compiling cmark footnotes.c
[27/64] Compiling cmark cmark_ctype.c
[28/64] Write sources
[31/64] Compiling cmark core-extensions.c
[32/64] Compiling cmark ext_scanners.c
[33/64] Compiling cmark commonmark.c
[34/64] Write sources
[47/64] Compiling cmark cmark.c
[48/64] Compiling cmark buffer.c
[49/64] Compiling CSystem shims.c
[50/64] Compiling cmark arena.c
[51/64] Compiling _AtomicsShims.c
[52/64] Compiling CNIOWindows shim.c
[53/64] Compiling cmark blocks.c
[54/64] Compiling CNIOWindows WSAStartup.c
[55/70] Compiling CNIOWASI CNIOWASI.c
[56/70] Compiling CNIOLinux shim.c
[57/70] Compiling CNIOLinux liburing_shims.c
[57/70] Write sources
[59/95] Compiling cmark scanners.c
[61/131] Emitting module _NIOBase64
[61/131] Compiling cmark autolink.c
[62/131] Compiling CNIODarwin shim.c
[64/133] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/134] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[66/134] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[67/134] Compiling InternalCollectionsUtilities Descriptions.swift
[68/134] Compiling InternalCollectionsUtilities Debugging.swift
[69/134] Emitting module InternalCollectionsUtilities
[70/134] Compiling Atomics OptionalRawRepresentable.swift
[71/134] Compiling Atomics RawRepresentable.swift
[72/134] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[73/134] Compiling _NIODataStructures _TinyArray.swift
[74/134] Compiling _NIODataStructures PriorityQueue.swift
[75/134] Compiling Atomics UnsafeAtomicLazyReference.swift
[76/134] Compiling Atomics IntegerOperations.swift
[77/134] Compiling Atomics DoubleWord.swift
[78/134] Compiling Atomics ManagedAtomic.swift
[79/134] Compiling Atomics ManagedAtomicLazyReference.swift
[80/134] Compiling Atomics UnsafeAtomic.swift
[81/135] Compiling _NIOBase64 Base64.swift
[84/135] Compiling Atomics PointerConformances.swift
[85/138] Compiling Atomics AtomicReference.swift
[86/138] Compiling Atomics AtomicStorage.swift
[88/138] Compiling Atomics Primitives.native.swift
[89/138] Compiling Atomics AtomicValue.swift
[90/138] Compiling Atomics AtomicMemoryOrderings.swift
[91/138] Emitting module SwiftMarkdown
[92/138] 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 {
[92/138] Compiling c-nioatomics.c
[93/138] Emitting module _NIODataStructures
[93/138] Compiling c-atomics.c
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/246] Fetching markdown
[11/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (1.09s)
Fetched https://github.com/vapor/leaf-kit.git from cache (1.09s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.64s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.25s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.80s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.40s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (4.09s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[73/6233] Fetching swift-atomics, swift-system
[1001/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.73s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.73s)
Fetched https://github.com/apple/swift-collections.git from cache (1.73s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.50s)
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/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-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/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.2.0
BUILD FAILURE 6.2 macosSpm