The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommonMark, reference master (5b1de5), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 12:18:13 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/chriseidhof/commonmark-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chriseidhof/commonmark-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5b1de5a Version bump
Cloned https://github.com/chriseidhof/commonmark-swift.git
Revision (git rev-parse @):
5b1de5a072f2bb89b7b1cf1ecb69ce4582561efa
SUCCESS checkout https://github.com/chriseidhof/commonmark-swift.git at master
========================================
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": "commonmark-swift",
      "name": "CommonMark",
      "url": "https://github.com/chriseidhof/commonmark-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/commonmark-swift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/chriseidhof/commonmark-swift.git
[1/590] Fetching commonmark-swift
Fetched https://github.com/chriseidhof/commonmark-swift.git from cache (0.80s)
Creating working copy for https://github.com/chriseidhof/commonmark-swift.git
Working copy of https://github.com/chriseidhof/commonmark-swift.git resolved at master (5b1de5a)
warning: '.resolve-product-dependencies': dependency 'commonmark-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/chriseidhof/commonmark-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/7] Compiling CommonMark Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
1 | module Ccmark [system] {
2 |     header "/usr/local/include/cmark.h"
  |            `- error: header '/usr/local/include/cmark.h' not found
3 |     link "libcmark"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
  8 |
  9 | import Foundation
 10 | import Ccmark
    |        `- error: could not build Objective-C module 'Ccmark'
 11 |
 12 |
[4/7] Compiling CommonMark Reduce.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
1 | module Ccmark [system] {
2 |     header "/usr/local/include/cmark.h"
  |            `- error: header '/usr/local/include/cmark.h' not found
3 |     link "libcmark"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
  8 |
  9 | import Foundation
 10 | import Ccmark
    |        `- error: could not build Objective-C module 'Ccmark'
 11 |
 12 |
[5/7] Compiling CommonMark SwiftAST.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
1 | module Ccmark [system] {
2 |     header "/usr/local/include/cmark.h"
  |            `- error: header '/usr/local/include/cmark.h' not found
3 |     link "libcmark"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
  8 |
  9 | import Foundation
 10 | import Ccmark
    |        `- error: could not build Objective-C module 'Ccmark'
 11 |
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module CommonMark
/Users/admin/builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
1 | module Ccmark [system] {
2 |     header "/usr/local/include/cmark.h"
  |            `- error: header '/usr/local/include/cmark.h' not found
3 |     link "libcmark"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
  8 |
  9 | import Foundation
 10 | import Ccmark
    |        `- error: could not build Objective-C module 'Ccmark'
 11 |
 12 |
[7/7] Compiling CommonMark ASTOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
1 | module Ccmark [system] {
2 |     header "/usr/local/include/cmark.h"
  |            `- error: header '/usr/local/include/cmark.h' not found
3 |     link "libcmark"
4 |     export *
/Users/admin/builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
  8 |
  9 | import Foundation
 10 | import Ccmark
    |        `- error: could not build Objective-C module 'Ccmark'
 11 |
 12 |
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libcmark using your system-packager:
    brew install commonmark
warning: you may be able to install libcmark using your system-packager:
    brew install commonmark
BUILD FAILURE 6.3 macosSpm