Build Information
Failed to build PacketCaptureBPF, reference 0.2.10 (aaa6c5), with Swift 6.2 for Wasm on 19 Jun 2025 05:48:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/OperatorFoundation/PacketCaptureBPF.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/OperatorFoundation/PacketStream.git
Fetching https://github.com/OperatorFoundation/SwiftQueue.git
Fetching https://github.com/OperatorFoundation/InternetProtocols.git
Fetching https://github.com/OperatorFoundation/Bits.git
Fetching https://github.com/OperatorFoundation/Datable.git
[1/45] Fetching packetstream
[33/444] Fetching packetstream, datable
[373/911] Fetching packetstream, datable, internetprotocols
[708/981] Fetching packetstream, datable, internetprotocols, swiftqueue
[740/1103] Fetching packetstream, datable, internetprotocols, swiftqueue, bits
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.26s)
[486/704] Fetching packetstream, internetprotocols, swiftqueue, bits
Fetched https://github.com/OperatorFoundation/Bits.git from cache (0.27s)
Fetched https://github.com/OperatorFoundation/PacketStream.git from cache (0.33s)
Fetched https://github.com/OperatorFoundation/SwiftQueue.git from cache (0.33s)
Fetched https://github.com/OperatorFoundation/InternetProtocols.git from cache (0.33s)
Computing version for https://github.com/OperatorFoundation/PacketStream.git
Computed https://github.com/OperatorFoundation/PacketStream.git at 0.2.1 (0.71s)
Computing version for https://github.com/OperatorFoundation/SwiftQueue.git
Computed https://github.com/OperatorFoundation/SwiftQueue.git at 0.1.3 (1.74s)
Computing version for https://github.com/OperatorFoundation/Bits.git
Computed https://github.com/OperatorFoundation/Bits.git at 2.0.1 (0.52s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.39s)
Computing version for https://github.com/OperatorFoundation/InternetProtocols.git
Computed https://github.com/OperatorFoundation/InternetProtocols.git at 2.2.1 (0.39s)
Creating working copy for https://github.com/OperatorFoundation/PacketStream.git
Working copy of https://github.com/OperatorFoundation/PacketStream.git resolved at 0.2.1
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/InternetProtocols.git
Working copy of https://github.com/OperatorFoundation/InternetProtocols.git resolved at 2.2.1
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/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/40] Compiling SwiftQueue Queue.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/LinkedList.swift:8:8: error: no such module 'Foundation'
6 | // Courtesy of https://www.raywenderlich.com/144083/swift-algorithm-club-swift-linked-list-data-structure
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public class Node<T>
[8/40] Compiling Datable Double+Stringable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[9/40] Compiling Datable File.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[10/40] Compiling Datable Float+MaybeDatable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[11/40] Compiling Datable Floatable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[12/40] Compiling Datable String+Arrayable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[13/40] Compiling Datable String+Datable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[14/40] Compiling Datable String+Intable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[15/40] Compiling Datable Stringable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/44] Emitting module SwiftQueue
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/LinkedList.swift:8:8: error: no such module 'Foundation'
6 | // Courtesy of https://www.raywenderlich.com/144083/swift-algorithm-club-swift-linked-list-data-structure
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public class Node<T>
[17/44] Compiling SwiftQueue LinkedList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftQueue/Sources/SwiftQueue/LinkedList.swift:8:8: error: no such module 'Foundation'
6 | // Courtesy of https://www.raywenderlich.com/144083/swift-algorithm-club-swift-linked-list-data-structure
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public class Node<T>
[18/44] Compiling Datable Int+MaybeDatable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[19/44] Compiling Datable Int+Stringable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[20/44] Compiling Datable Intable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
[21/44] Compiling Datable MaybeDatable.swift
/host/spi-builder-workspace/.build/checkouts/Datable/Sources/Datable/Arrayable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol Arrayable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/44] Emitting module PacketStream
/host/spi-builder-workspace/.build/checkouts/PacketStream/Sources/PacketStream/PacketStream.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct TimestampedPacket
/host/spi-builder-workspace/.build/checkouts/PacketStream/Sources/PacketStream/PacketStream.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct TimestampedPacket
BUILD FAILURE 6.2 wasm