The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chriseidhof/commonmark-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/chriseidhof/commonmark-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/7] Compiling CommonMark Node.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[4/7] Compiling CommonMark Reduce.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[5/7] Compiling CommonMark SwiftAST.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)
[6/7] Emitting module CommonMark
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[7/7] Compiling CommonMark ASTOperations.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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: you may be able to install libcmark using your system-packager:
    brew install commonmark
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling CommonMark Reduce.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/6] Compiling CommonMark Node.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[4/6] Emitting module CommonMark
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[5/6] Compiling CommonMark ASTOperations.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CommonMark/Node.swift:10:8: error: could not build Objective-C module 'Ccmark'
import Ccmark
       ^
[6/6] Compiling CommonMark SwiftAST.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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: you may be able to install libcmark using your system-packager:
    brew install commonmark
BUILD FAILURE 5.10 macosSpm