Build Information
Failed to build PerfectMosquitto with Swift 6.0 for iOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme PerfectMosquitto -destination generic/platform=ios OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: iOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-mosquitto.git
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install libmosquitto using your system-packager:
brew install mosquitto
Resolved source packages:
PerfectMosquitto: /Users/admin/builder/spi-builder-workspace
resolved source packages: PerfectMosquitto
{
"dependencies" : [
],
"manifest_display_name" : "PerfectMosquitto",
"name" : "PerfectMosquitto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PerfectMosquitto",
"targets" : [
"PerfectMosquitto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cmosquitto",
"module_type" : "SystemLibraryTarget",
"name" : "cmosquitto",
"path" : "Sources/cmosquitto",
"product_memberships" : [
"PerfectMosquitto"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "PerfectMosquittoTests",
"module_type" : "SwiftTarget",
"name" : "PerfectMosquittoTests",
"path" : "Tests/PerfectMosquittoTests",
"sources" : [
"PerfectMosquittoTests.swift"
],
"target_dependencies" : [
"PerfectMosquitto"
],
"type" : "test"
},
{
"c99name" : "PerfectMosquitto",
"module_type" : "SwiftTarget",
"name" : "PerfectMosquitto",
"path" : "Sources/PerfectMosquitto",
"product_memberships" : [
"PerfectMosquitto"
],
"sources" : [
"PerfectMosquitto.swift"
],
"target_dependencies" : [
"cmosquitto"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"PerfectMosquitto"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme PerfectMosquitto -destination generic/platform=ios OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PerfectMosquitto -destination generic/platform=ios "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install libmosquitto using your system-packager:
brew install mosquitto
Resolved source packages:
PerfectMosquitto: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'PerfectMosquitto' in project 'PerfectMosquitto'
➜ Explicit dependency on target 'PerfectMosquitto' in project 'PerfectMosquitto'
Target 'PerfectMosquitto' in project 'PerfectMosquitto'
➜ Explicit dependency on target 'cmosquitto' in project 'PerfectMosquitto'
Target 'cmosquitto' in project 'PerfectMosquitto' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/ld -version_details
Build description signature: 142193c2630e5e622639b7095da4ddd2
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/142193c2630e5e622639b7095da4ddd2.xcbuilddata
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/PerfectMosquitto.modulemap (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/PerfectMosquitto.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/PerfectMosquitto.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/PerfectMosquitto.modulemap (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/PerfectMosquitto.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.LinkFileList (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.SwiftFileList (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-OutputFileMap.json (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-OutputFileMap.json
SwiftDriver PerfectMosquitto normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftDriver -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name PerfectMosquitto -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -target arm64-apple-ios12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4.2 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ PerfectMosquitto.swift /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.dia -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-unit-output-path /PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.dia -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-unit-output-path /PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftEmitModule normal arm64 Emitting\ module\ for\ PerfectMosquitto (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.abi.json
<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 {
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'cmosquitto' from project 'PerfectMosquitto')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ PerfectMosquitto (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
(1 failure)
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PerfectMosquitto -destination generic/platform=ios "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install libmosquitto using your system-packager:
brew install mosquitto
Resolved source packages:
PerfectMosquitto: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'PerfectMosquitto' in project 'PerfectMosquitto'
➜ Explicit dependency on target 'PerfectMosquitto' in project 'PerfectMosquitto'
Target 'PerfectMosquitto' in project 'PerfectMosquitto'
➜ Explicit dependency on target 'cmosquitto' in project 'PerfectMosquitto'
Target 'cmosquitto' in project 'PerfectMosquitto' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
SwiftDriver PerfectMosquitto normal arm64 com.apple.xcode.tools.swift.compiler (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftDriver -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name PerfectMosquitto -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -target arm64-apple-ios12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4.2 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ PerfectMosquitto (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.abi.json
<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 {
SwiftCompile normal arm64 Compiling\ PerfectMosquitto.swift /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.dia -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-unit-output-path /PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/PerfectMosquitto/PerfectMosquitto.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.dia -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4.2 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cmosquitto/module.modulemap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PerfectMosquitto -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-unit-output-path /PerfectMosquitto.build/Debug-iphoneos/PerfectMosquitto.build/Objects-normal/arm64/PerfectMosquitto.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'cmosquitto' from project 'PerfectMosquitto')
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ PerfectMosquitto (in target 'PerfectMosquitto' from project 'PerfectMosquitto')
(1 failure)
BUILD FAILURE 6.0 iOS