The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeafMarkdown, reference 3.0.1 (ecec9a), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 10:05:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/vapor-community/markdown.git
[1/245] Fetching markdown
[168/5275] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (1.03s)
Fetched https://github.com/vapor/leaf-kit.git from cache (1.03s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.74s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.29s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.96s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.59s)
Fetching https://github.com/apple/swift-nio.git
[1/83106] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.36s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (7.11s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[74/7421] Fetching swift-atomics, swift-system
[758/30946] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.03s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.03s)
Fetched https://github.com/apple/swift-collections.git from cache (2.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.70s)
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/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/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/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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
========================================
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.66s)
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.45s)
Fetched https://github.com/vapor-community/markdown.git from cache (0.45s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.53s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.44s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.51s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.04s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.90s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.08s)
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-community/leaf-markdown.git
Working copy of https://github.com/vapor-community/leaf-markdown.git resolved at 3.0.1 (ecec9a9)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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/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/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
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] Copying PrivacyInfo.xcprivacy
[2/67] Write sources
[8/67] Write swift-version--6988338F2F200930.txt
[9/67] Compiling cmark syntax_extension.c
[10/67] Compiling cmark tagfilter.c
[11/67] Compiling cmark tasklist.c
[12/67] Compiling cmark buffer.c
[13/67] Compiling cmark strikethrough.c
[14/67] Compiling cmark render.c
[15/67] Compiling cmark registry.c
[16/67] Compiling cmark table.c
[17/67] Compiling cmark plugin.c
[18/67] Compiling cmark references.c
[19/67] Compiling cmark plaintext.c
[20/67] Compiling cmark map.c
[21/67] Compiling cmark xml.c
[22/67] Compiling cmark node.c
[23/67] Compiling cmark linked_list.c
[24/67] Compiling cmark man.c
[25/67] Compiling cmark latex.c
[26/67] Compiling cmark iterator.c
[27/67] Compiling cmark utf8.c
[28/67] Compiling cmark scanners.c
[29/67] Compiling cmark houdini_html_e.c
[30/67] Compiling cmark html.c
[31/67] Compiling cmark houdini_href_e.c
[32/67] Compiling cmark houdini_html_u.c
[33/67] Compiling cmark footnotes.c
[34/67] Write sources
[36/67] Compiling cmark inlines.c
[37/67] Compiling cmark core-extensions.c
[38/67] Compiling cmark ext_scanners.c
[39/67] Write sources
[44/67] Compiling cmark cmark_ctype.c
[46/67] Write sources
[49/67] Compiling cmark commonmark.c
[50/67] Compiling cmark cmark.c
[51/67] Compiling CSystem shims.c
[52/67] Compiling cmark arena.c
[53/67] Compiling _AtomicsShims.c
[54/67] Compiling CNIOWindows shim.c
[55/67] Compiling CNIOWindows WSAStartup.c
[56/67] Compiling cmark blocks.c
[57/67] Compiling CNIOWASI CNIOWASI.c
[58/73] Compiling CNIOOpenBSD shim.c
[58/73] Compiling CNIOLinux shim.c
[60/73] Compiling CNIOLinux liburing_shims.c
[60/73] Write sources
[62/99] Compiling CNIOPosix event_loop_id.c
[63/139] Compiling CNIODarwin shim.c
[64/139] Compiling cmark autolink.c
[66/141] Compiling Atomics PointerConformances.swift
[67/141] Compiling Atomics Primitives.native.swift
[68/142] Compiling Atomics OptionalRawRepresentable.swift
[69/142] Compiling Atomics RawRepresentable.swift
[70/142] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[71/142] Compiling Atomics AtomicValue.swift
[72/142] Compiling Atomics AtomicMemoryOrderings.swift
[73/142] Compiling Atomics AtomicInteger.swift
[74/142] Compiling Atomics AtomicOptionalWrappable.swift
[75/142] Compiling Atomics DoubleWord.swift
[76/142] Compiling Atomics ManagedAtomic.swift
[77/142] Emitting module InternalCollectionsUtilities
[78/142] Compiling _NIODataStructures _TinyArray.swift
[79/142] Compiling _NIOBase64 Base64.swift
[80/142] Emitting module _NIOBase64
[81/142] Compiling Atomics UnsafeAtomicLazyReference.swift
[82/142] Compiling Atomics IntegerOperations.swift
[83/142] Compiling Atomics AtomicReference.swift
[84/142] Compiling Atomics AtomicStorage.swift
[85/142] Compiling Atomics ManagedAtomicLazyReference.swift
[86/142] Compiling Atomics UnsafeAtomic.swift
[87/142] Compiling Atomics AtomicBool.swift
[88/142] Compiling Atomics IntegerConformances.swift
[89/142] Compiling _NIODataStructures PriorityQueue.swift
[90/142] Emitting module _NIODataStructures
[91/142] Compiling _NIODataStructures Heap.swift
[92/142] Emitting module SwiftMarkdown
[93/142] 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 {
[96/142] Compiling c-atomics.c
[98/142] Compiling c-nioatomics.c
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 macosSpm