The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PacketCaptureBPF, reference main (4b7ae0), with Swift 6.1 for Wasm on 28 May 2025 03:12:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/PacketCaptureBPF.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/PacketCaptureBPF
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b7ae02 swift-tools-version:5.8 macOS 13
Cloned https://github.com/OperatorFoundation/PacketCaptureBPF.git
Revision (git rev-parse @):
4b7ae02db84a5d9412fba27292b3a577eb6304d0
SUCCESS checkout https://github.com/OperatorFoundation/PacketCaptureBPF.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/OperatorFoundation/PacketCaptureBPF.git
https://github.com/OperatorFoundation/PacketCaptureBPF.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "packetstream",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/PacketStream.git"
    },
    {
      "identity" : "datable",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable.git"
    },
    {
      "identity" : "internetprotocols",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/InternetProtocols.git"
    },
    {
      "identity" : "bits",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Bits.git"
    },
    {
      "identity" : "swiftqueue",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/SwiftQueue.git"
    }
  ],
  "manifest_display_name" : "PacketCaptureBPF",
  "name" : "PacketCaptureBPF",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "PacketCaptureBPF",
      "targets" : [
        "PacketCaptureBPF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PacketCaptureBPFTests",
      "module_type" : "SwiftTarget",
      "name" : "PacketCaptureBPFTests",
      "path" : "Tests/PacketCaptureBPFTests",
      "product_dependencies" : [
        "InternetProtocols"
      ],
      "sources" : [
        "PacketCaptureBPFTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PacketCaptureBPF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PacketCaptureBPF",
      "module_type" : "SwiftTarget",
      "name" : "PacketCaptureBPF",
      "path" : "Sources/PacketCaptureBPF",
      "product_dependencies" : [
        "PacketStream",
        "Datable",
        "Bits",
        "SwiftQueue"
      ],
      "product_memberships" : [
        "PacketCaptureBPF"
      ],
      "sources" : [
        "CaptureDevice.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/OperatorFoundation/PacketStream.git
[1/45] Fetching packetstream
Fetched https://github.com/OperatorFoundation/PacketStream.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.30s)
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
[1/467] Fetching internetprotocols
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.32s)
Fetching https://github.com/OperatorFoundation/Bits.git
[1/122] Fetching bits
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.22s)
Fetching https://github.com/OperatorFoundation/SwiftQueue.git
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.35s)
Fetching https://github.com/OperatorFoundation/Net.git
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net.git from cache (0.29s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.25s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.43s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (0.62s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.10s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (2.05s)
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/Bits.git
Working copy of https://github.com/OperatorFoundation/Bits.git resolved at main (cc7079e)
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/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
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/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at main (1186348)
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/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
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/SwiftQueue.git
Working copy of https://github.com/OperatorFoundation/SwiftQueue.git resolved at main (3d099bc)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/46] Emitting module Datable
[9/50] Compiling Datable Arrayable.swift
[10/50] Compiling Datable CSVable.swift
[11/50] Compiling Datable Data+Arrayable.swift
[12/50] Compiling Datable Data+Base64.swift
[13/50] Compiling Datable Data+Datable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/50] Emitting module SwiftQueue
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[15/50] Compiling Datable String+Arrayable.swift
[16/50] Compiling Datable String+Datable.swift
[17/50] Compiling Datable String+Intable.swift
[18/50] Compiling Datable Stringable.swift
[19/50] Compiling Datable MaybeIntable.swift
[20/50] Compiling Datable MaybeNetworkIntable.swift
[21/50] Compiling Datable NetworkDatable.swift
[22/50] Compiling Datable NetworkIntable.swift
[23/50] Compiling Datable Datable.swift
[24/50] Compiling Datable DatableConfig.swift
[25/50] Compiling Datable Double+MaybeDatable.swift
[26/50] Compiling Datable Double+Stringable.swift
[27/50] Compiling Datable File.swift
[28/50] Compiling PacketStream PacketStream.swift
[29/50] Emitting module PacketStream
[30/51] Compiling SwiftQueue Queue.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[31/51] Compiling SwiftQueue LinkedList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[32/51] Compiling Datable Float+Floatable.swift
[33/51] Compiling Datable Float+MaybeDatable.swift
[34/51] Compiling Datable Float+MaybeIntable.swift
[35/51] Compiling Datable Floatable.swift
[36/51] Compiling Datable Int+Floatable.swift
[37/51] Compiling Datable Data+ExpressibleByStringLiteral.swift
[38/51] Compiling Datable Data+Floatable.swift
[39/51] Compiling Datable Data+MaybeIntable.swift
[40/51] Compiling Datable Data+MaybeNetworkIntable.swift
[41/51] Compiling Datable Data+Stringable.swift
[42/51] Compiling Datable Int+MaybeDatable.swift
[43/51] Compiling Datable Int+MaybeIntable.swift
[44/51] Compiling Datable Int+Stringable.swift
[45/51] Compiling Datable Intable.swift
[46/51] Compiling Datable MaybeDatable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/41] Compiling SwiftQueue LinkedList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[4/41] Compiling SwiftQueue Queue.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[5/41] Emitting module SwiftQueue
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/Queue.swift:9:8: error: no such module 'Dispatch'
 7 |
 8 | import Foundation
 9 | import Dispatch
   |        `- error: no such module 'Dispatch'
10 |
11 | public class Queue<T>
[6/41] Emitting module PacketStream
BUILD FAILURE 6.1 wasm