The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PacketCaptureBPF, reference 0.2.10 (aaa6c5), with Swift 6.1 for Wasm on 28 May 2025 03:12:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 0.2.10
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
 * tag               0.2.10     -> FETCH_HEAD
HEAD is now at aaa6c50 Update CaptureDevice.swift
Cloned https://github.com/OperatorFoundation/PacketCaptureBPF.git
Revision (git rev-parse @):
aaa6c509569cb11904e35dd682bb581b9b2f8083
SUCCESS checkout https://github.com/OperatorFoundation/PacketCaptureBPF.git at 0.2.10
========================================
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" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/PacketStream.git"
    },
    {
      "identity" : "datable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable.git"
    },
    {
      "identity" : "internetprotocols",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/InternetProtocols.git"
    },
    {
      "identity" : "bits",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Bits.git"
    },
    {
      "identity" : "swiftqueue",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/SwiftQueue.git"
    }
  ],
  "manifest_display_name" : "PacketCaptureBPF",
  "name" : "PacketCaptureBPF",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "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.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/SwiftQueue.git
Fetching https://github.com/OperatorFoundation/PacketStream.git
Fetching https://github.com/OperatorFoundation/Datable.git
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
Fetching https://github.com/OperatorFoundation/Bits.git
[1/399] Fetching datable
[400/444] Fetching datable, packetstream
[445/566] Fetching datable, packetstream, bits
[567/636] Fetching datable, packetstream, bits, swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.47s)
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.42s)
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.46s)
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.46s)
[1/467] Fetching internetprotocols
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.70s)
Computing version for https://github.com/OperatorFoundation/PacketStream.git
Computed https://github.com/OperatorFoundation/PacketStream.git at 0.2.1 (2.67s)
Computing version for https://github.com/OperatorFoundation/SwiftQueue.git
Computed https://github.com/OperatorFoundation/SwiftQueue.git at 0.1.3 (0.97s)
Computing version for https://github.com/OperatorFoundation/Bits.git
Computed https://github.com/OperatorFoundation/Bits.git at 2.0.1 (0.57s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.97s)
Computing version for https://github.com/OperatorFoundation/InternetProtocols.git
Computed https://github.com/OperatorFoundation/InternetProtocols.git at 2.2.1 (0.84s)
Creating working copy for https://github.com/OperatorFoundation/Bits.git
Working copy of https://github.com/OperatorFoundation/Bits.git resolved at 2.0.1
Creating working copy for https://github.com/OperatorFoundation/InternetProtocols.git
Working copy of https://github.com/OperatorFoundation/InternetProtocols.git resolved at 2.2.1
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
Creating working copy for https://github.com/OperatorFoundation/SwiftQueue.git
Working copy of https://github.com/OperatorFoundation/SwiftQueue.git resolved at 0.1.3
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at 0.2.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/40] Emitting module Datable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/44] 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>
[9/44] 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>
[10/44] Compiling Datable String+Arrayable.swift
[11/44] Compiling Datable String+Datable.swift
[12/44] Compiling Datable String+Intable.swift
[13/44] Compiling Datable Stringable.swift
[14/44] Compiling PacketStream PacketStream.swift
[15/44] Emitting module PacketStream
[16/45] Compiling Datable Double+Stringable.swift
[17/45] Compiling Datable File.swift
[18/45] Compiling Datable Float+MaybeDatable.swift
[19/45] Compiling Datable Floatable.swift
[20/45] Compiling Datable Data+Stringable.swift
[21/45] Compiling Datable Datable.swift
[22/45] Compiling Datable DatableConfig.swift
[23/45] Compiling Datable Double+MaybeDatable.swift
[25/45] Compiling Datable Data+ExpressibleByStringLiteral.swift
[26/45] Compiling Datable Data+Floatable.swift
[27/45] Compiling Datable Data+MaybeIntable.swift
[28/45] Compiling Datable Data+MaybeNetworkIntable.swift
[29/45] Compiling Datable Arrayable.swift
[30/45] Compiling Datable CSVable.swift
[31/45] Compiling Datable Data+Arrayable.swift
[32/45] Compiling Datable Data+Datable.swift
[33/45] Compiling Datable Int+MaybeDatable.swift
[34/45] Compiling Datable Int+Stringable.swift
[35/45] Compiling Datable Intable.swift
[36/45] Compiling Datable MaybeDatable.swift
[37/45] Compiling Datable MaybeIntable.swift
[38/45] Compiling Datable MaybeNetworkIntable.swift
[39/45] Compiling Datable NetworkDatable.swift
[40/45] Compiling Datable NetworkIntable.swift
[41/45] 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>
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/35] 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>
[3/35] Emitting module PacketStream
[4/35] Compiling PacketStream PacketStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/36] 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/36] 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>
BUILD FAILURE 6.1 wasm