Build Information
Failed to build Markdown, reference 1.0.0 (ad895d
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 19:21:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/markdown.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/markdown
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at ad895d1 Updated README.
Cloned https://github.com/twostraws/markdown.git
Revision (git rev-parse @):
ad895d1cd77d4f6b6775497cbff7b0c5995f7485
SUCCESS checkout https://github.com/twostraws/markdown.git at 1.0.0
========================================
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": "markdown",
"name": "Markdown",
"url": "https://github.com/twostraws/markdown.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/markdown",
"dependencies": [
]
}
]
}
Fetching https://github.com/twostraws/markdown.git
[1/21] Fetching markdown
Fetched https://github.com/twostraws/markdown.git from cache (0.58s)
Creating working copy for https://github.com/twostraws/markdown.git
Working copy of https://github.com/twostraws/markdown.git resolved at 1.0.0 (ad895d1)
warning: '.resolve-product-dependencies': dependency 'markdown' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/twostraws/markdown.git
https://github.com/twostraws/markdown.git
{
"dependencies" : [
],
"manifest_display_name" : "Markdown",
"name" : "Markdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Markdown",
"targets" : [
"Markdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "discount",
"module_type" : "SystemLibraryTarget",
"name" : "discount",
"path" : "Sources/discount",
"product_memberships" : [
"Markdown"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "MarkdownTests",
"module_type" : "SwiftTarget",
"name" : "MarkdownTests",
"path" : "Tests/MarkdownTests",
"sources" : [
"MarkdownTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Markdown"
],
"type" : "test"
},
{
"c99name" : "Markdown",
"module_type" : "SwiftTarget",
"name" : "Markdown",
"path" : "Sources/Markdown",
"product_memberships" : [
"Markdown"
],
"sources" : [
"Markdown.swift",
"ParseOptions.swift"
],
"target_dependencies" : [
"discount"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module Markdown
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
[4/5] Compiling Markdown Markdown.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
[5/5] Compiling Markdown ParseOptions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmarkdown using your system-packager:
brew install discount
warning: you may be able to install libmarkdown using your system-packager:
brew install discount
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling Markdown ParseOptions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
[3/4] Compiling Markdown Markdown.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/4] Emitting module Markdown
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "discount.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/discount/discount.h:1:10: error: 'mkdio.h' file not found
1 | #include <mkdio.h>
| `- error: 'mkdio.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:1:8: error: could not build Objective-C module 'Discount'
1 | import Discount
| `- error: could not build Objective-C module 'Discount'
2 |
3 | /// Stores the compiled Markdown for a string. This must be a class because it has a custom deinitializer to release the underlying memory.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmarkdown using your system-packager:
brew install discount
warning: you may be able to install libmarkdown using your system-packager:
brew install discount
BUILD FAILURE 6.1 macosSpm