Build Information
Failed to build AdversaryLabClientSwift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/AdversaryLabClientSwift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/OperatorFoundation/AdversaryLabClientSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5ca3845 swift-tools-version:5.8 macOS 13
Cloned https://github.com/OperatorFoundation/AdversaryLabClientSwift.git
Revision (git rev-parse @):
5ca3845f333187e4be0ecd95baf816c467505e95
SUCCESS checkout https://github.com/OperatorFoundation/AdversaryLabClientSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/OperatorFoundation/AdversaryLabClientSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/OperatorFoundation/Bits.git
[1/116] Fetching bits
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.24s)
Fetching https://github.com/OperatorFoundation/Chord.git
[1/480] Fetching chord
Fetched https://github.com/OperatorFoundation/Chord.git from cache (0.25s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.22s)
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
[1/440] Fetching internetprotocols
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.30s)
Fetching https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
[1/92] Fetching packetcapturelibpcap
Fetched https://github.com/OperatorFoundation/PacketCaptureLibpcap.git from cache (0.24s)
Fetching https://github.com/OperatorFoundation/PacketStream.git
[1/45] Fetching packetstream
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.22s)
Fetching https://github.com/OperatorFoundation/Song.git
[1/567] Fetching song
Fetched https://github.com/OperatorFoundation/Song.git from cache (0.34s)
Fetching https://github.com/OperatorFoundation/swift-netutils.git
[1/1121] Fetching swift-netutils
Fetched https://github.com/OperatorFoundation/swift-netutils.git from cache (0.34s)
Fetching https://github.com/OperatorFoundation/SwiftQueue.git
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.22s)
Fetching https://github.com/OperatorFoundation/Net.git
[1/93] Fetching net
Fetched https://github.com/OperatorFoundation/Net.git from cache (0.22s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.20s)
Fetching https://github.com/OperatorFoundation/swift-ast
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.36s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/193] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.22s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (0.32s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git
[1/178] Fetching swiftpcap
[179/5270] Fetching swiftpcap, zipfoundation
[5271/16705] Fetching swiftpcap, zipfoundation, swift-argument-parser
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git from cache (0.45s)
[6693/16527] Fetching zipfoundation, swift-argument-parser
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.46s)
[2402/11435] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.45s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (0.47s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.18 (0.43s)
Creating working copy for https://github.com/OperatorFoundation/Chord.git
Working copy of https://github.com/OperatorFoundation/Chord.git resolved at main (2331f19)
Creating working copy for https://github.com/OperatorFoundation/InternetProtocols.git
Working copy of https://github.com/OperatorFoundation/InternetProtocols.git resolved at main (c4f2554)
Creating working copy for https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
Working copy of https://github.com/OperatorFoundation/PacketCaptureLibpcap.git resolved at main (3ca84a2)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.18
Creating working copy for https://github.com/OperatorFoundation/Net.git
Working copy of https://github.com/OperatorFoundation/Net.git resolved at main (aabe0ee)
Creating working copy for https://github.com/OperatorFoundation/swift-netutils.git
Working copy of https://github.com/OperatorFoundation/swift-netutils.git resolved at main (7eabe76)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
Creating working copy for https://github.com/OperatorFoundation/Song.git
Working copy of https://github.com/OperatorFoundation/Song.git resolved at main (b1207a6)
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
Creating working copy for https://github.com/OperatorFoundation/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
Creating working copy for https://github.com/OperatorFoundation/SwiftPCAP.git
Working copy of https://github.com/OperatorFoundation/SwiftPCAP.git resolved at 1.3.1
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/Bits.git
Working copy of https://github.com/OperatorFoundation/Bits.git resolved at main (cc7079e)
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at main (7916aee)
Creating working copy for https://github.com/OperatorFoundation/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
Creating working copy for https://github.com/OperatorFoundation/SwiftQueue.git
Working copy of https://github.com/OperatorFoundation/SwiftQueue.git resolved at main (3d099bc)
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/62] Write sources
[30/62] Write swift-version-24593BA9C3E375BF.txt
[32/103] Emitting module SwiftHexTools
[33/103] Emitting module PacketStream
[34/103] Compiling PacketStream PacketStream.swift
[35/104] Compiling Socket SocketProtocols.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/104] Emitting module SwiftPCAP
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[37/104] Compiling SwiftPCAP SwiftPCAPLive.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[38/104] Compiling SwiftQueue Queue.swift
[39/104] Compiling SwiftPCAP SwiftPCAP.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[40/104] Compiling SwiftPCAP SwiftPCAPOffline.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[42/104] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[43/104] Compiling ZIPFoundation Archive+Writing.swift
[44/104] Compiling ZIPFoundation Archive+WritingDeprecated.swift
error: fatalError
[45/106] Compiling Socket Socket+Hashable.swift
[46/106] Emitting module NetUtils
[47/106] Compiling SwiftHexTools SwiftHexTools.swift
[48/106] Emitting module SwiftQueue
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/41] Emitting module SwiftPCAP
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[4/66] Compiling SwiftPCAP SwiftPCAPOffline.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[5/66] Emitting module SwiftHexTools
[6/67] Compiling SwiftPCAP SwiftPCAPLive.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
[7/67] Compiling SwiftPCAP SwiftPCAP.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
header "/usr/include/pcap.h"
^
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
import ClibpcapLinux
^
error: fatalError
[9/67] Emitting module NetUtils
BUILD FAILURE 5.10 linux