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 AdversaryLabClientSwift, reference main (5ca384), with Swift 6.0 for Linux on 3 Nov 2024 09:14:21 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/OperatorFoundation/Bits.git
[1/122] Fetching bits
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.60s)
Fetching https://github.com/OperatorFoundation/Chord.git
[1/504] Fetching chord
Fetched https://github.com/OperatorFoundation/Chord.git from cache (0.17s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.19s)
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
[1/467] Fetching internetprotocols
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.27s)
Fetching https://github.com/OperatorFoundation/PacketCaptureLibpcap.git
[1/92] Fetching packetcapturelibpcap
Fetched https://github.com/OperatorFoundation/PacketCaptureLibpcap.git from cache (0.16s)
Fetching https://github.com/OperatorFoundation/PacketStream.git
[1/45] Fetching packetstream
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.24s)
Fetching https://github.com/OperatorFoundation/Song.git
[1/593] Fetching song
Fetched https://github.com/OperatorFoundation/Song.git from cache (0.57s)
Fetching https://github.com/OperatorFoundation/swift-netutils.git
[1/1121] Fetching swift-netutils
Fetched https://github.com/OperatorFoundation/swift-netutils.git from cache (0.29s)
Fetching https://github.com/OperatorFoundation/SwiftQueue.git
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.18s)
Fetching https://github.com/OperatorFoundation/Net.git
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net.git from cache (0.23s)
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.31s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] 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.29s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/OperatorFoundation/SwiftPCAP.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/178] Fetching swiftpcap
[179/5644] Fetching swiftpcap, zipfoundation
[5645/17997] Fetching swiftpcap, zipfoundation, swift-argument-parser
Fetched https://github.com/OperatorFoundation/SwiftPCAP.git from cache (0.43s)
[10531/17819] Fetching zipfoundation, swift-argument-parser
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.44s)
[7042/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.64s)
Computing version for https://github.com/OperatorFoundation/SwiftPCAP.git
Computed https://github.com/OperatorFoundation/SwiftPCAP.git at 1.3.1 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.40s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.39s)
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.0
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/Bits.git
Working copy of https://github.com/OperatorFoundation/Bits.git resolved at main (cc7079e)
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/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
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/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
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/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
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/OperatorFoundation/SwiftQueue.git
Working copy of https://github.com/OperatorFoundation/SwiftQueue.git resolved at main (3d099bc)
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/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
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/InternetProtocols.git
Working copy of https://github.com/OperatorFoundation/InternetProtocols.git resolved at main (ce88950)
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 SwiftHexTools
[33/103] Emitting module RawPacket
[34/103] Emitting module ZIPFoundation
[35/105] Compiling Socket SocketProtocols.swift
[36/105] Emitting module SwiftQueue
[37/105] Compiling SwiftQueue LinkedList.swift
[38/105] 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 |
[39/105] Compiling SwiftHexTools SwiftHexTools.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/106] 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 |
[41/106] Compiling SwiftQueue Queue.swift
[42/106] Compiling PacketStream PacketStream.swift
[43/106] Emitting module PacketStream
[44/108] Compiling Socket Socket+Hashable.swift
[47/108] Emitting module NetUtils
[48/108] Compiling NetUtils Interface.swift
[50/108] Emitting module Socket
[51/108] Compiling Socket Socket+Equatable.swift
[52/109] Compiling Socket SocketUtils.swift
[53/109] Compiling Socket Socket.swift
[54/109] Compiling RawPacket RawPacket.swift
[56/111] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[57/111] Compiling ZIPFoundation URL+ZIP.swift
[58/111] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[59/111] Compiling ZIPFoundation Data+Serialization.swift
[60/111] Compiling ZIPFoundation Date+ZIP.swift
[61/111] Compiling ZIPFoundation Archive+ZIP64.swift
[62/111] Compiling ZIPFoundation Archive.swift
[63/111] Compiling ZIPFoundation Data+Compression.swift
[64/111] Compiling ZIPFoundation Archive+MemoryFile.swift
[65/111] Compiling ZIPFoundation Archive+Progress.swift
[66/111] Compiling ZIPFoundation Archive+Reading.swift
[67/111] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[68/111] Compiling ZIPFoundation Archive+Writing.swift
[69/111] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[70/111] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[71/111] Compiling ZIPFoundation Archive+Deprecated.swift
[72/111] Compiling ZIPFoundation Archive+Helpers.swift
[73/111] Compiling ZIPFoundation Entry+Serialization.swift
[74/111] Compiling ZIPFoundation Entry+ZIP64.swift
[75/111] Compiling ZIPFoundation Entry.swift
[76/111] Compiling ZIPFoundation FileManager+ZIP.swift
[77/112] 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 |
[78/112] 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 |
BUILD FAILURE 6.0 linux