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.0 for macOS (SPM) on 1 Nov 2024 19:54:28 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: 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/leaf-kit.git
Fetching https://github.com/vapor-community/markdown.git
[1/4491] Fetching leaf-kit
[136/4737] Fetching leaf-kit, markdown
Fetched https://github.com/vapor/leaf-kit.git from cache (1.11s)
Fetched https://github.com/vapor-community/markdown.git from cache (1.11s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.70s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.40s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.65s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.11.1 (0.69s)
Fetching https://github.com/apple/swift-nio.git
[1/71141] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.77s)
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
[49/5470] Fetching swift-atomics, swift-system
[1199/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (9.03s)
Fetched https://github.com/apple/swift-system.git from cache (9.03s)
Fetched https://github.com/apple/swift-collections.git from cache (9.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.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/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/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/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.87s)
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/leaf-kit.git from cache (0.49s)
Fetched https://github.com/vapor-community/markdown.git from cache (0.49s)
Computing version for https://github.com/vapor-community/markdown.git
Computed https://github.com/vapor-community/markdown.git at 0.7.1 (0.04s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.49s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.02s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.11.1 (0.02s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.69s)
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-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.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
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)
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] Write sources
[4/58] Copying PrivacyInfo.xcprivacy
[5/58] Write swift-version--7754E27361AE5C74.txt
[6/58] Compiling cmark syntax_extension.c
[7/58] Compiling cmark tasklist.c
[8/58] Compiling cmark strikethrough.c
[9/58] Compiling cmark tagfilter.c
[10/58] Compiling cmark arena.c
[11/58] Compiling cmark xml.c
[12/58] Compiling cmark utf8.c
[13/58] Compiling cmark references.c
[14/58] Compiling cmark registry.c
[15/58] Compiling cmark plugin.c
[16/58] Compiling cmark render.c
[17/58] Compiling cmark plaintext.c
[18/58] Compiling cmark table.c
[19/58] Compiling cmark linked_list.c
[20/58] Compiling cmark map.c
[21/58] Compiling cmark man.c
[22/58] Compiling cmark node.c
[23/58] Compiling cmark latex.c
[24/58] Compiling cmark iterator.c
[25/58] Compiling cmark blocks.c
[26/58] Compiling cmark houdini_html_e.c
[27/58] Compiling cmark houdini_href_e.c
[28/58] Compiling cmark html.c
[29/58] Compiling cmark inlines.c
[30/58] Compiling cmark footnotes.c
[30/58] Write sources
[33/58] Compiling cmark houdini_html_u.c
[34/58] Compiling cmark scanners.c
[35/58] Compiling cmark core-extensions.c
[35/58] Write sources
[42/58] Compiling cmark ext_scanners.c
[43/58] Compiling cmark cmark_ctype.c
[44/58] Compiling _AtomicsShims.c
[45/58] Compiling CNIOWindows shim.c
[46/58] Compiling cmark cmark.c
[47/58] Compiling cmark commonmark.c
[48/58] Compiling cmark buffer.c
[49/58] Compiling CNIOWindows WSAStartup.c
[50/58] Compiling CNIOWASI CNIOWASI.c
[51/58] Write sources
[52/62] Compiling CNIOLinux shim.c
[53/64] Compiling CNIOLinux liburing_shims.c
[54/101] Compiling cmark autolink.c
[55/103] Compiling CNIODarwin shim.c
[56/103] Compiling c-nioatomics.c
[57/103] Compiling c-atomics.c
[59/109] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/110] Compiling Atomics ManagedAtomic.swift
[61/110] Compiling Atomics ManagedAtomicLazyReference.swift
[62/110] Compiling Atomics OptionalRawRepresentable.swift
[63/110] Compiling Atomics RawRepresentable.swift
[64/110] Compiling Atomics AtomicMemoryOrderings.swift
[65/110] Compiling Atomics DoubleWord.swift
[66/110] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[67/110] Emitting module SwiftMarkdown
[68/110] 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/110] Emitting module _NIOBase64
[72/110] Emitting module NIOConcurrencyHelpers
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