The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LeafMarkdown, reference 3.0.1 (ecec9a), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 14:07:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/246] Fetching markdown
[166/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (0.96s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.96s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.60s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.31s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.92s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.49s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.89s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.63s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Fetched https://github.com/apple/swift-collections.git from cache (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.71s)
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.13.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.82.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.4.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.1.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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
========================================
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",
  "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",
      "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",
          "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",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "leaf-kit",
          "name": "leaf-kit",
          "url": "https://github.com/vapor/leaf-kit.git",
          "version": "1.13.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/leaf-kit",
          "dependencies": [
            {
              "identity": "swift-nio",
              "name": "swift-nio",
              "url": "https://github.com/apple/swift-nio.git",
              "version": "2.82.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
              "dependencies": [
                {
                  "identity": "swift-atomics",
                  "name": "swift-atomics",
                  "url": "https://github.com/apple/swift-atomics.git",
                  "version": "1.2.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.1.4",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "swift-system",
                  "name": "swift-system",
                  "url": "https://github.com/apple/swift-system.git",
                  "version": "1.4.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
                  "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.77s)
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.48s)
Fetched https://github.com/vapor-community/markdown.git from cache (0.48s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.55s)
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.50s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.03s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.80s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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/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/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.1.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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
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.1
Building package at path:  $PWD
https://github.com/vapor-community/leaf-markdown.git
https://github.com/vapor-community/leaf-markdown.git
{
  "dependencies" : [
    {
      "identity" : "markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/markdown.git"
    },
    {
      "identity" : "leaf-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/leaf-kit.git"
    }
  ],
  "manifest_display_name" : "LeafMarkdown",
  "name" : "LeafMarkdown",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "LeafMarkdown",
      "targets" : [
        "LeafMarkdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LeafMarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "LeafMarkdownTests",
      "path" : "Tests/LeafMarkdownTests",
      "product_dependencies" : [
        "LeafKit"
      ],
      "sources" : [
        "LeafTests.swift"
      ],
      "target_dependencies" : [
        "LeafMarkdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LeafMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "LeafMarkdown",
      "path" : "Sources/LeafMarkdown",
      "product_dependencies" : [
        "LeafKit",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "LeafMarkdown"
      ],
      "sources" : [
        "Tag.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/64] Write sources
[6/64] Copying PrivacyInfo.xcprivacy
[8/64] Write swift-version-2F0A5646E1D333AE.txt
[9/64] Compiling cmark cmark_ctype.c
[10/64] Compiling cmark buffer.c
[11/64] Compiling cmark xml.c
[12/64] Compiling cmark tagfilter.c
[13/64] Compiling cmark table.c
[14/64] Compiling cmark tasklist.c
[15/64] Compiling cmark render.c
[16/64] Compiling cmark strikethrough.c
[17/64] Compiling cmark registry.c
[18/64] Compiling cmark plugin.c
[19/64] Compiling cmark references.c
[20/64] Compiling cmark plaintext.c
[21/64] Compiling cmark scanners.c
[22/64] Compiling cmark map.c
[23/64] Compiling cmark node.c
[24/64] Compiling cmark man.c
[25/64] Compiling cmark utf8.c
[26/64] Compiling cmark linked_list.c
[27/64] Compiling cmark iterator.c
[28/64] Compiling cmark latex.c
[29/64] Compiling cmark syntax_extension.c
[30/64] Compiling cmark inlines.c
[31/64] Compiling cmark html.c
[32/64] Compiling cmark houdini_html_e.c
[33/64] Compiling cmark cmark.c
[34/64] Write sources
[36/64] Compiling cmark houdini_href_e.c
[37/64] Compiling cmark houdini_html_u.c
[38/64] Compiling cmark footnotes.c
[38/64] Write sources
[47/64] Compiling cmark core-extensions.c
[48/64] Compiling cmark ext_scanners.c
[49/64] Compiling CSystem shims.c
[50/64] Compiling CNIOWindows shim.c
[51/64] Compiling cmark commonmark.c
[52/64] Compiling CNIOWindows WSAStartup.c
[53/64] Compiling cmark blocks.c
[54/64] Compiling _AtomicsShims.c
[55/64] Compiling cmark arena.c
[56/64] Compiling CNIOWASI CNIOWASI.c
[57/64] Compiling CNIOLinux shim.c
[58/64] Write sources
[59/64] Compiling CNIOLinux liburing_shims.c
[60/135] Compiling cmark autolink.c
[61/135] Compiling CNIODarwin shim.c
[63/137] Compiling Atomics ManagedAtomic.swift
[64/137] Compiling Atomics ManagedAtomicLazyReference.swift
[65/137] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[66/138] Compiling Atomics AtomicStorage.swift
[67/138] Compiling Atomics AtomicValue.swift
[68/138] Compiling Atomics AtomicMemoryOrderings.swift
[69/138] Compiling Atomics DoubleWord.swift
[70/138] Emitting module SwiftMarkdown
[71/138] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:31:60: error: cannot find 'strlen' in scope
29 |     try str.withCString {
30 |
31 |         guard let buf = cmark_gfm_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
   |                                                            `- error: cannot find 'strlen' in scope
32 |             throw MarkdownError.conversionFailed
33 |         }
/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 {
[71/138] Compiling c-nioatomics.c
[72/138] Compiling Atomics AtomicOptionalWrappable.swift
[73/138] Compiling Atomics AtomicReference.swift
[74/138] Emitting module _NIOBase64
[74/138] Compiling c-atomics.c
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/76] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/markdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:31:60: error: cannot find 'strlen' in scope
29 |     try str.withCString {
30 |
31 |         guard let buf = cmark_gfm_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
   |                                                            `- error: cannot find 'strlen' in scope
32 |             throw MarkdownError.conversionFailed
33 |         }
/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 {
[3/76] Compiling SystemPackage Errno.swift
[4/76] Compiling SystemPackage ErrnoWindows.swift
[5/77] Emitting module SwiftMarkdown
[5/77] Compiling c-nioatomics.c
[5/77] Compiling c-atomics.c
BUILD FAILURE 6.1 macosSpm