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 PacketCaptureLibpcap 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/PacketCaptureLibpcap.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/PacketCaptureLibpcap
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ca84a2 Time Interval Bug Fix
Cloned https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Revision (git rev-parse @):
3ca84a21ab599ddbb977424432875c3ba5a69039
SUCCESS checkout https://github.com/OperatorFoundation/PacketCaptureLibpcap.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module SwiftPCAP
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
[6/10] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
[7/10] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
[8/10] Compiling SwiftPCAP SwiftPCAP.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
error: fatalError
[9/10] Emitting module PacketStream
Fetching https://github.com/OperatorFoundation/PacketStream.git from cache
Fetching https://github.com/OperatorFoundation/SwiftHexTools from cache
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git from cache
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git from cache (0.17s)
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.17s)
Fetched https://github.com/OperatorFoundation/SwiftHexTools from cache (0.17s)
Computing version for https://github.com/OperatorFoundation/PacketStream.git
Computed https://github.com/OperatorFoundation/PacketStream.git at 0.2.1 (0.33s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (0.33s)
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at 0.2.1
Creating working copy for https://github.com/OperatorFoundation/SwiftPCAP.git
Working copy of https://github.com/OperatorFoundation/SwiftPCAP.git resolved at 1.3.1
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/7] Compiling SwiftPCAP SwiftPCAPOffline.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
[3/7] Compiling PacketStream PacketStream.swift
[4/7] Emitting module PacketStream
[5/7] Compiling SwiftPCAP SwiftPCAPLive.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module SwiftPCAP
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
[7/7] Compiling SwiftPCAP SwiftPCAP.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:5:12: error: could not build Objective-C module 'ClibpcapMacOS'
    import ClibpcapMacOS
           ^
error: fatalError
BUILD FAILURE 5.10 macosSpm