Build Information
Failed to build CommonMark, reference master (5b1de5), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 03:52:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/chriseidhof/commonmark-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 |
[4/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 |
[5/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 |
[6/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 |
[7/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 |
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.2 macosSpm