Build Information
Failed to build PerfectMosquitto with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mosquitto.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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/builds/h8344Zi3/1/finestructure/swiftpackageindex-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 (0.25s)
Creating working copy for https://github.com/perfectlysoft/perfect-mosquitto.git
Working copy of https://github.com/perfectlysoft/perfect-mosquitto.git resolved at master
warning: '.resolve-product-dependencies': dependency 'perfect-mosquitto' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module PerfectMosquitto
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
#include "/usr/local/include/mosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
^
[2/2] Compiling PerfectMosquitto PerfectMosquitto.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
#include "/usr/local/include/mosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
^
error: fatalError
warning: you may be able to install libmosquitto using your system-packager:
brew install mosquitto
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module PerfectMosquitto
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
#include "/usr/local/include/mosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
^
[2/2] Compiling PerfectMosquitto PerfectMosquitto.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmosquitto/cmosquitto.h:4:10: error: '/usr/local/include/mosquitto.h' file not found
#include "/usr/local/include/mosquitto.h"
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
^
error: fatalError
warning: you may be able to install libmosquitto using your system-packager:
brew install mosquitto
BUILD FAILURE 5.9 macosSpm