The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommonMark with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chriseidhof/commonmark-swift.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "commonmark-swift",
      "name": "CommonMark",
      "url": "https://github.com/chriseidhof/commonmark-swift.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/commonmark-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/chriseidhof/commonmark-swift.git
[1/590] Fetching commonmark-swift
Fetched https://github.com/chriseidhof/commonmark-swift.git (2.08s)
Creating working copy for https://github.com/chriseidhof/commonmark-swift.git
Working copy of https://github.com/chriseidhof/commonmark-swift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'commonmark-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/5] Compiling CommonMark ASTOperations.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[2/5] Compiling CommonMark SwiftAST.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module CommonMark
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[4/5] Compiling CommonMark Node.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[5/5] Compiling CommonMark Reduce.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
error: fatalError
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
[0/1] Planning build
Building for debugging...
[1/5] Compiling CommonMark ASTOperations.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module CommonMark
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[3/5] Compiling CommonMark Reduce.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[4/5] Compiling CommonMark Node.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[5/5] Compiling CommonMark SwiftAST.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Ccmark/module.modulemap:2:12: error: header '/usr/local/include/cmark.h' not found
    header "/usr/local/include/cmark.h"
           ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
error: fatalError
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
BUILD FAILURE 5.9 macosSpm