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 SecureXPC, reference main (1cece5), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 04:34:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/trilemma-dev/SecureXPC.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/trilemma-dev/SecureXPC
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1cece54 Merge pull request #132 from trilemma-dev/executable-path
Cloned https://github.com/trilemma-dev/SecureXPC.git
Revision (git rev-parse @):
1cece54562c7626d042f007d2f38cfe325565850
SUCCESS checkout https://github.com/trilemma-dev/SecureXPC.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/trilemma-dev/SecureXPC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/45] Emitting module SecureXPC
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[4/50] Compiling SecureXPC XPCContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[5/50] Compiling SecureXPC XPCEncoder.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[6/50] Compiling SecureXPC XPCEncoderImpl.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[7/50] Compiling SecureXPC XPCKeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[8/50] Compiling SecureXPC XPCSingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[9/50] Compiling SecureXPC XPCUnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[10/50] Compiling SecureXPC SharedMemory.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[11/50] Compiling SecureXPC SharedRawMemory.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[12/50] Compiling SecureXPC SharedSemaphore.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[13/50] Compiling SecureXPC SharedTrivial.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[14/50] Compiling SecureXPC Trivial.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[15/50] Compiling SecureXPC XPCCoderError.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[16/50] Compiling SecureXPC Transformation functions.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[17/50] Compiling SecureXPC XPCDecoder.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[18/50] Compiling SecureXPC XPCDecoderImpl.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[19/50] Compiling SecureXPC XPCKeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[20/50] Compiling SecureXPC XPCSingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[21/50] Compiling SecureXPC XPCUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[22/50] Compiling SecureXPC xpc_type_t+description.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[23/50] Compiling SecureXPC XPCCommon.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[24/50] Compiling SecureXPC XPCConnectionDescriptor.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[25/50] Compiling SecureXPC XPCError.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[26/50] Compiling SecureXPC XPCServerEndpoint.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[27/50] Compiling SecureXPC ClientRequirement.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[28/50] Compiling SecureXPC MachServiceCriteria.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[29/50] Compiling SecureXPC XPCAnonymousServer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[30/50] Compiling SecureXPC XPCMachServer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[31/50] Compiling SecureXPC XPCServer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[32/50] Compiling SecureXPC XPCServiceServer.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[33/50] Compiling SecureXPC Request.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[34/50] Compiling SecureXPC Response.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[35/50] Compiling SecureXPC Routes.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[36/50] Compiling SecureXPC SequentialResult.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[37/50] Compiling SecureXPC SequentialResultProvider.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[38/50] Compiling SecureXPC ClientIdentity.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[39/50] Compiling SecureXPC ArrayOptimizedForXPC.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[40/50] Compiling SecureXPC DataOptimizedForXPC.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[41/50] Compiling SecureXPC File Descriptor XPC Wrappers.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[42/50] Compiling SecureXPC IOSurfaceForXPC.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[43/50] Compiling SecureXPC HandlerError.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[44/50] Compiling SecureXPC PackageInternalRoutes.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[45/50] Compiling SecureXPC ServerIdentity.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[46/50] Compiling SecureXPC ServerRequirement.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[47/50] Compiling SecureXPC XPCClient.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[48/50] Compiling SecureXPC XPCEndpointClient.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[49/50] Compiling SecureXPC XPCMachClient.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
[50/50] Compiling SecureXPC XPCServiceClient.swift
/host/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public extension XPCClient {
BUILD FAILURE 6.2 wasm