Build Information
Failed to build SwiftPCAP 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/OperatorFoundation/SwiftPCAP.git
Reference: 1.3.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/SwiftPCAP
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at 7fc1f40 Swift 5.3
Cloned https://github.com/OperatorFoundation/SwiftPCAP.git
Revision (git rev-parse @):
7fc1f40ca4638629c9d95e750bb80d782023ad4a
SUCCESS checkout https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/OperatorFoundation/SwiftPCAP.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/6] Emitting module SwiftPCAP
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[4/6] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[5/6] Compiling SwiftPCAP SwiftPCAP.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[6/6] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
error: fatalError
Fetching https://github.com/OperatorFoundation/SwiftHexTools from cache
Fetched https://github.com/OperatorFoundation/SwiftHexTools from cache (0.15s)
Computing version for https://github.com/OperatorFoundation/SwiftHexTools
Computed https://github.com/OperatorFoundation/SwiftHexTools at 1.2.6 (0.43s)
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools
Working copy of https://github.com/OperatorFoundation/SwiftHexTools resolved at 1.2.6
[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/5] Emitting module SwiftPCAP
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[3/5] Compiling SwiftPCAP SwiftPCAP.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[4/5] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
[5/5] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Clibpcap/module.modulemap:4:12: error: header '/usr/local/opt/libpcap/include/pcap.h' not found
header "/usr/local/opt/libpcap/include/pcap.h"
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
import ClibpcapMacOS
^
error: fatalError
BUILD FAILURE 5.10 macosSpm