Build Information
Failed to build PerfectMosquitto, reference master (ec54dd
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 04:37:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mosquitto.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mosquitto
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ec54dd3 improving the versions.
Cloned https://github.com/perfectlysoft/perfect-mosquitto.git
Revision (git rev-parse @):
ec54dd39c7bfee93ad1bf3a46ed03418c9f8452e
SUCCESS checkout https://github.com/perfectlysoft/perfect-mosquitto.git at master
========================================
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": "perfect-mosquitto",
"name": "PerfectMosquitto",
"url": "https://github.com/perfectlysoft/perfect-mosquitto.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-mosquitto",
"dependencies": [
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-mosquitto.git
[1/97] Fetching perfect-mosquitto
Fetched https://github.com/perfectlysoft/perfect-mosquitto.git from cache (0.68s)
Creating working copy for https://github.com/perfectlysoft/perfect-mosquitto.git
Working copy of https://github.com/perfectlysoft/perfect-mosquitto.git resolved at master (ec54dd3)
warning: '.resolve-product-dependencies': dependency 'perfect-mosquitto' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mosquitto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module PerfectMosquitto
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "cmosquitto.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
2 | #define __PERFECT_LIB_MOSQUITTO__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mosquitto.h"
| `- error: '/usr/local/include/mosquitto.h' file not found
5 | #else
6 | #include "/usr/include/mosquitto.h"
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
23 | #endif
24 |
25 | import cmosquitto
| `- error: could not build Objective-C module 'cmosquitto'
26 |
27 | extension String {
[4/4] Compiling PerfectMosquitto PerfectMosquitto.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "cmosquitto.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
2 | #define __PERFECT_LIB_MOSQUITTO__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mosquitto.h"
| `- error: '/usr/local/include/mosquitto.h' file not found
5 | #else
6 | #include "/usr/include/mosquitto.h"
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
23 | #endif
24 |
25 | import cmosquitto
| `- error: could not build Objective-C module 'cmosquitto'
26 |
27 | extension String {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmosquitto using your system-packager:
brew install mosquitto
BUILD FAILURE 6.0 macosSpm