The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PerfectMosquitto 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/perfectlysoft/perfect-mosquitto.git
Reference: 3.1.3
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mosquitto
 * tag               3.1.3      -> FETCH_HEAD
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 3.1.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mosquitto.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
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:
#import "cmosquitto.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
       ^
[4/4] Compiling PerfectMosquitto PerfectMosquitto.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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: 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module PerfectMosquitto
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift:25:8: error: could not build Objective-C module 'cmosquitto'
import cmosquitto
       ^
[3/3] Compiling PerfectMosquitto PerfectMosquitto.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "cmosquitto.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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: 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 5.10 macosSpm