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.0 for macOS (SPM) on 1 Nov 2024 19:55:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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/4491] Fetching leaf-kit
[91/4737] Fetching leaf-kit, markdown
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 (0.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.34s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.62s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.11.1 (0.62s)
Fetching https://github.com/apple/swift-nio.git
[1/71141] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.73s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[64/5470] Fetching swift-atomics, swift-system
[1784/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.20s)
[2498/17044] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (5.23s)
Fetched https://github.com/apple/swift-collections.git from cache (5.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.76s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.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.11.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.2.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.1.4
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.11.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.76.1",
              "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.0",
                  "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.75s)
Fetching https://github.com/vapor/leaf-kit.git from cache
Fetching https://github.com/vapor-community/markdown.git from cache
Fetched https://github.com/vapor-community/markdown.git from cache (0.51s)
Fetched https://github.com/vapor/leaf-kit.git from cache (0.51s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.03s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.48s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.03s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.11.1 (0.03s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.63s)
Fetched https://github.com/apple/swift-collections.git from cache (0.63s)
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.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/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.11.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.1.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
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.0
Building package at path:  $PWD
https://github.com/vapor-community/leaf-markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/58] Copying PrivacyInfo.xcprivacy
[1/58] Write swift-version--7754E27361AE5C74.txt
[2/58] Compiling cmark tasklist.c
[3/58] Compiling cmark syntax_extension.c
[3/58] Compiling cmark tagfilter.c
[3/58] Compiling cmark xml.c
[6/58] Compiling cmark table.c
[7/58] Compiling cmark registry.c
[8/58] Compiling cmark utf8.c
[9/58] Compiling cmark plugin.c
[10/58] Compiling cmark render.c
[11/58] Compiling cmark references.c
[12/58] Compiling cmark map.c
[13/58] Compiling cmark plaintext.c
[14/58] Compiling cmark strikethrough.c
[15/58] Compiling cmark man.c
[16/58] Compiling cmark node.c
[17/58] Compiling cmark linked_list.c
[18/58] Compiling cmark latex.c
[19/58] Compiling cmark iterator.c
[20/58] Compiling cmark houdini_html_e.c
[21/58] Compiling cmark houdini_href_e.c
[22/58] Compiling cmark html.c
[23/58] Compiling cmark footnotes.c
[24/58] Compiling cmark inlines.c
[25/58] Compiling cmark ext_scanners.c
[26/58] Compiling cmark core-extensions.c
[26/58] Write sources
[29/58] Compiling cmark houdini_html_u.c
[30/58] Compiling cmark cmark_ctype.c
[31/58] Compiling cmark commonmark.c
[31/58] Write sources
[42/58] Compiling cmark cmark.c
[43/58] Compiling cmark buffer.c
[44/58] Compiling CNIOWindows shim.c
[45/58] Compiling cmark arena.c
[46/58] Compiling _AtomicsShims.c
[47/58] Compiling CNIOWindows WSAStartup.c
[48/58] Compiling cmark blocks.c
[49/58] Compiling CNIOWASI CNIOWASI.c
[50/58] Compiling CNIOLinux shim.c
[50/58] Write sources
[52/64] Compiling cmark scanners.c
[52/64] Compiling CNIOLinux liburing_shims.c
[54/101] Compiling cmark autolink.c
[55/101] Compiling CNIODarwin shim.c
[57/103] Emitting module SwiftMarkdown
[57/103] Compiling c-nioatomics.c
[58/103] Compiling c-atomics.c
[60/109] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/109] Compiling Atomics PointerConformances.swift
[62/109] Compiling Atomics Primitives.native.swift
[63/109] Compiling Atomics AtomicMemoryOrderings.swift
[64/109] Compiling Atomics DoubleWord.swift
[65/110] Compiling Atomics AtomicOptionalWrappable.swift
[66/110] Compiling Atomics AtomicReference.swift
[67/110] Compiling Atomics UnsafeAtomic.swift
[68/110] Compiling Atomics UnsafeAtomicLazyReference.swift
[69/112] Compiling Atomics ManagedAtomic.swift
[70/112] Compiling Atomics ManagedAtomicLazyReference.swift
[73/112] 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 {
[76/112] Compiling Atomics Primitives.shims.swift
[77/112] Compiling Atomics AtomicInteger.swift
[78/112] Compiling Atomics OptionalRawRepresentable.swift
[79/112] Compiling Atomics RawRepresentable.swift
[80/112] Emitting module InternalCollectionsUtilities
[81/112] Compiling Atomics AtomicBool.swift
[82/112] Compiling Atomics IntegerConformances.swift
[83/112] Emitting module _NIOBase64
warning: 'leaf-kit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/leaf-kit/Sources/LeafKit/Docs.docc
BUILD FAILURE 6.0 macosSpm