The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdversaryLabClientSwift, reference main (5ca384), with Swift 6.2 for Linux on 20 Jun 2025 08:42:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             6.2
Building package at path:  $PWD
https://github.com/OperatorFoundation/AdversaryLabClientSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/OperatorFoundation/Bits.git
[1/122] Fetching bits
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.19s)
Fetching https://github.com/OperatorFoundation/Chord.git
[1/504] Fetching chord
Fetched https://github.com/OperatorFoundation/Chord.git from cache (0.23s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.28s)
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
[1/467] Fetching internetprotocols
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.28s)
Fetching https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
[1/92] Fetching packetcapturelibpcap
Fetched https://github.com/OperatorFoundation/PacketCaptureLibpcap.git from cache (0.19s)
Fetching https://github.com/OperatorFoundation/PacketStream.git
[1/45] Fetching packetstream
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.49s)
Fetching https://github.com/OperatorFoundation/Song.git
[1/593] Fetching song
Fetched https://github.com/OperatorFoundation/Song.git from cache (0.38s)
Fetching https://github.com/OperatorFoundation/swift-netutils.git
[1/1121] Fetching swift-netutils
Fetched https://github.com/OperatorFoundation/swift-netutils.git from cache (0.38s)
Fetching https://github.com/OperatorFoundation/SwiftQueue.git
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.42s)
Fetching https://github.com/OperatorFoundation/Net.git
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net.git from cache (0.36s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.44s)
Fetching https://github.com/OperatorFoundation/swift-ast
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.78s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.41s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (1.87s)
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git
Fetching https://github.com/apple/swift-argument-parser
[2/178] Fetching swiftpcap
[179/5754] Fetching swiftpcap, zipfoundation
[904/21134] Fetching swiftpcap, zipfoundation, swift-argument-parser
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.75s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.76s)
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git from cache (1.76s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (2.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.59s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.70s)
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/Song.git
Working copy of https://github.com/OperatorFoundation/Song.git resolved at main (191a949)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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/Chord.git
Working copy of https://github.com/OperatorFoundation/Chord.git resolved at main (fd232f4)
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/Net.git
Working copy of https://github.com/OperatorFoundation/Net.git resolved at main (e49f54a)
Creating working copy for https://github.com/OperatorFoundation/InternetProtocols.git
Working copy of https://github.com/OperatorFoundation/InternetProtocols.git resolved at main (ce88950)
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/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at main (1186348)
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/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
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/OperatorFoundation/Bits.git
Working copy of https://github.com/OperatorFoundation/Bits.git resolved at main (cc7079e)
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/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
warning: 'swift-netutils': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/swift-netutils/NetUtils/Info.plist
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/62] Write sources
[30/62] Write swift-version-24593BA9C3E375BF.txt
[32/103] Emitting module SwiftQueue
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/103] Emitting module SwiftPCAP
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/Clibpcap/module.modulemap:11:12: error: header '/usr/include/pcap.h' not found
 9 | module ClibpcapLinux [system]
10 | {
11 |     header "/usr/include/pcap.h"
   |            `- error: header '/usr/include/pcap.h' not found
12 |     link "/usr/lib/x86_64-linux-gnu/libpcap.so"
13 |     export *
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
  5 |     import ClibpcapMacOS
  6 | #elseif os(Linux)
  7 |     import ClibpcapLinux
    |            `- error: could not build C module 'ClibpcapLinux'
  8 | #endif
  9 |
[34/103] Emitting module PacketStream
[35/103] Emitting module Socket
[36/103] Emitting module ZIPFoundation
[37/105] Compiling SwiftQueue Queue.swift
[38/105] Compiling PacketStream PacketStream.swift
[39/106] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[40/106] Compiling ZIPFoundation Data+Serialization.swift
[41/106] Compiling ZIPFoundation Date+ZIP.swift
[42/106] Emitting module RawPacket
[43/106] Compiling RawPacket RawPacket.swift
[45/107] Emitting module NetUtils
[46/107] Compiling NetUtils Interface.swift
[47/108] Compiling Socket Socket+Equatable.swift
[49/108] Compiling SwiftQueue LinkedList.swift
[50/109] 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
 9 | module ClibpcapLinux [system]
10 | {
11 |     header "/usr/include/pcap.h"
   |            `- error: header '/usr/include/pcap.h' not found
12 |     link "/usr/lib/x86_64-linux-gnu/libpcap.so"
13 |     export *
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
  5 |     import ClibpcapMacOS
  6 | #elseif os(Linux)
  7 |     import ClibpcapLinux
    |            `- error: could not build C module 'ClibpcapLinux'
  8 | #endif
  9 |
[51/109] Emitting module SwiftHexTools
[52/109] Compiling SwiftHexTools SwiftHexTools.swift
[54/110] 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
 9 | module ClibpcapLinux [system]
10 | {
11 |     header "/usr/include/pcap.h"
   |            `- error: header '/usr/include/pcap.h' not found
12 |     link "/usr/lib/x86_64-linux-gnu/libpcap.so"
13 |     export *
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
  5 |     import ClibpcapMacOS
  6 | #elseif os(Linux)
  7 |     import ClibpcapLinux
    |            `- error: could not build C module 'ClibpcapLinux'
  8 | #endif
  9 |
[55/110] 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
 9 | module ClibpcapLinux [system]
10 | {
11 |     header "/usr/include/pcap.h"
   |            `- error: header '/usr/include/pcap.h' not found
12 |     link "/usr/lib/x86_64-linux-gnu/libpcap.so"
13 |     export *
/host/spi-builder-workspace/.build/checkouts/SwiftPCAP/Sources/SwiftPCAP/SwiftPCAP.swift:7:12: error: could not build C module 'ClibpcapLinux'
  5 |     import ClibpcapMacOS
  6 | #elseif os(Linux)
  7 |     import ClibpcapLinux
    |            `- error: could not build C module 'ClibpcapLinux'
  8 | #endif
  9 |
[58/110] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[59/110] Compiling ZIPFoundation URL+ZIP.swift
[60/110] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[61/110] Compiling ZIPFoundation Archive+Writing.swift
[62/110] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[63/110] Compiling ZIPFoundation Archive+ZIP64.swift
[64/110] Compiling ZIPFoundation Archive.swift
[65/110] Compiling ZIPFoundation Data+Compression.swift
[66/110] Compiling Socket Socket+Hashable.swift
[67/119] Compiling Bocho DotYanagibaReader.swift
[68/120] Compiling Bocho String+Indentation.swift
[69/120] Compiling Bocho String+FileHandle.swift
[70/120] Compiling Bocho DotYanagibaModels.swift
[71/120] Compiling Bocho String+TTYColor.swift
[72/120] Compiling Bocho DotYanagibaParser.swift
[73/120] Emitting module Bocho
[74/120] Compiling Bocho CLIOption.swift
[75/120] Compiling Bocho DotYanagiba+Merge.swift
[76/120] Compiling Bocho String+Path.swift
BUILD FAILURE 6.2 linux