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 main (ecec9a), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 14:13:21 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: 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
Fetching https://github.com/vapor-community/markdown.git
Fetching https://github.com/vapor/leaf-kit.git
[1/246] Fetching markdown
[247/5184] Fetching markdown, leaf-kit
Fetched https://github.com/vapor-community/markdown.git from cache (1.06s)
Fetched https://github.com/vapor/leaf-kit.git from cache (1.06s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (1.69s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.26s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.88s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.13.1 (0.48s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.97s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.70s)
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.67s)
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
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.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
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/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/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/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.2
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
========================================
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.67s)
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.48s)
Fetched https://github.com/vapor/leaf-kit.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.54s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.47s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.53s)
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.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.77s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.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.2.0 (0.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.03s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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-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
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/vapor-community/leaf-markdown.git
Working copy of https://github.com/vapor-community/leaf-markdown.git resolved at main (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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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
[7/64] Copying PrivacyInfo.xcprivacy
[9/64] Write swift-version-2F0A5646E1D333AE.txt
[10/64] Compiling cmark arena.c
[11/64] Compiling cmark houdini_html_u.c
[11/64] Compiling cmark tagfilter.c
[12/64] Compiling cmark tasklist.c
[14/64] Compiling cmark table.c
[15/64] Compiling cmark strikethrough.c
[16/64] Compiling cmark xml.c
[17/64] Compiling cmark utf8.c
[18/64] Compiling cmark plugin.c
[19/64] Compiling cmark registry.c
[20/64] Compiling cmark references.c
[21/64] Compiling cmark render.c
[22/64] Compiling cmark plaintext.c
[23/64] Compiling cmark node.c
[24/64] Compiling cmark map.c
[25/64] Compiling cmark man.c
[26/64] Compiling cmark linked_list.c
[27/64] Compiling cmark iterator.c
[28/64] Compiling cmark houdini_html_e.c
[29/64] Compiling cmark latex.c
[30/64] Compiling cmark html.c
[31/64] Compiling cmark scanners.c
[32/64] Compiling cmark inlines.c
[33/64] Compiling cmark houdini_href_e.c
[34/64] Compiling cmark footnotes.c
[35/64] Write sources
[37/64] Compiling cmark ext_scanners.c
[38/64] Compiling cmark cmark_ctype.c
[38/64] Compiling cmark core-extensions.c
[40/64] Compiling cmark syntax_extension.c
[41/64] Write sources
[48/64] Compiling cmark cmark.c
[49/64] Compiling cmark commonmark.c
[50/64] Compiling cmark buffer.c
[51/64] Compiling CNIOWindows shim.c
[52/64] Compiling CSystem shims.c
[53/64] Compiling CNIOWindows WSAStartup.c
[54/64] Compiling _AtomicsShims.c
[55/64] Compiling cmark blocks.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 CNIODarwin shim.c
[61/135] Compiling cmark autolink.c
[63/137] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/138] Compiling Atomics UnsafeAtomic.swift
[65/138] Compiling Atomics UnsafeAtomicLazyReference.swift
[66/138] Compiling Atomics AtomicMemoryOrderings.swift
[67/138] Compiling Atomics DoubleWord.swift
[68/138] Compiling Atomics AtomicStorage.swift
[69/138] Compiling Atomics AtomicValue.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 {
[72/138] Emitting module _NIOBase64
[72/138] Compiling c-nioatomics.c
[72/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 InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[3/76] Compiling SystemPackage FilePermissions.swift
[4/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/77] 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 {
[6/77] Compiling SystemPackage Errno.swift
[7/77] Compiling SystemPackage ErrnoWindows.swift
[8/77] Compiling SystemPackage FilePathSyntax.swift
[9/77] Compiling SystemPackage FilePathTemp.swift
[10/77] Compiling Atomics AtomicMemoryOrderings.swift
[11/77] Compiling Atomics DoubleWord.swift
[12/77] Emitting module SwiftMarkdown
[12/77] Compiling c-atomics.c
[12/77] Compiling c-nioatomics.c
BUILD FAILURE 6.1 macosSpm