The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build pingx, reference 1.0.9 (66c254), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 20:06:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shineRR/pingx.git
Reference: 1.0.9
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/shineRR/pingx
 * tag               1.0.9      -> FETCH_HEAD
HEAD is now at 66c2541 [IMP-1] Transitioning to Swift Testing - Part 2 (#7)
Cloned https://github.com/shineRR/pingx.git
Revision (git rev-parse @):
66c2541918d2a329458e8acd365ef5beb2947851
SUCCESS checkout https://github.com/shineRR/pingx.git at 1.0.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shineRR/pingx.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/38] Compiling pingx PingxSocket.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[4/38] Compiling pingx PingxSocketImpl.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[5/38] Compiling pingx PingxTimer.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[6/38] Compiling pingx PingxDispatchSourceTimer.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[7/38] Compiling pingx PacketSender.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/42] Emitting module pingx
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[9/42] Compiling pingx String+Extensions.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[10/42] Compiling pingx PacketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[11/42] Compiling pingx PacketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[12/42] Compiling pingx SocketFactory.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[13/42] Compiling pingx SocketFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[14/42] Compiling pingx PingerDelegate.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[15/42] Compiling pingx ICMPResponseValidationError.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[16/42] Compiling pingx PingerError.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[17/42] Compiling pingx ContinuousPinger.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[18/42] Compiling pingx ICMPChecksum.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[19/42] Compiling pingx IPv4AddressConverterApi.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[20/42] Compiling pingx IPv4AddressConverterError.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[21/42] Compiling pingx IPv4AddressConverter.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[22/42] Compiling pingx DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[23/42] Compiling pingx ICMPType.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[24/42] Compiling pingx Packet.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[25/42] Compiling pingx Payload.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[26/42] Compiling pingx Request.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[27/42] Compiling pingx Response.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[28/42] Compiling pingx PacketSenderDelegate.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[29/42] Compiling pingx PacketSenderError.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[30/42] Compiling pingx PacketSenderImpl.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[31/42] Compiling pingx Pinger.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[32/42] Compiling pingx PingerConfiguration.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[33/42] Compiling pingx IPv4Address.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[34/42] Compiling pingx IPHeader.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[35/42] Compiling pingx PacketType.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[36/42] Compiling pingx ICMPHeader.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[37/42] Compiling pingx ICMPPacket.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[38/42] Compiling pingx TimerFactory.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[39/42] Compiling pingx TimerFactoryImpl.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[40/42] Compiling pingx Atomic.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[41/42] Compiling pingx CommandBlock.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
[42/42] Compiling pingx FatalError.swift
/host/spi-builder-workspace/Sources/pingx/Checksum/Impl/ICMPChecksum.swift:25:8: error: no such module 'Foundation'
23 | //
24 |
25 | import Foundation
   |        `- error: no such module 'Foundation'
26 |
27 | struct ICMPChecksum {
BUILD FAILURE 6.2 wasm