Build Information
Failed to build MyHTML with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PopFlamingo/MyHTML.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PopFlamingo/MyHTML
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at aa741e3 Merge pull request #31 from adtrevor/typofix
Cloned https://github.com/PopFlamingo/MyHTML.git
Revision (git rev-parse @):
aa741e3429f81cc650d7fd018217c4be66484e01
SUCCESS checkout https://github.com/PopFlamingo/MyHTML.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/PopFlamingo/MyHTML.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling MyHTML Node.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
| `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 | */
16 |
17 | import CMyHTML
| `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module MyHTML
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
| `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 | */
16 |
17 | import CMyHTML
| `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[5/7] Compiling MyHTML Misc.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
| `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 | */
16 |
17 | import CMyHTML
| `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[6/7] Compiling MyHTML MyHTML.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
| `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 | */
16 |
17 | import CMyHTML
| `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
[7/7] Compiling MyHTML Tree.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/CMyHTML/shim.h:1:10: error: 'myhtml/api.h' file not found
1 | #include <myhtml/api.h>
| `- error: 'myhtml/api.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/MyHTML/Misc.swift:17:8: error: could not build Objective-C module 'CMyHTML'
15 | */
16 |
17 | import CMyHTML
| `- error: could not build Objective-C module 'CMyHTML'
18 |
19 | public enum Error: Swift.Error {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for myhtml
BUILD FAILURE 6.0 macosSpm