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 Socket, reference main (85fdca), with Swift 6.2 (beta) for Wasm on 8 Sep 2025 20:42:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.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/PureSwift/Socket
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 85fdcac Merge pull request #20 from the-braveknight/main
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
85fdcac657041100365190a02c70a72146fadaf0
SUCCESS checkout https://github.com/PureSwift/Socket.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-log.git
[1/4937] Fetching swift-system
[1878/8840] Fetching swift-system, swift-log
Fetched https://github.com/apple/swift-system from cache (0.52s)
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
Building for debugging...
[0/6] Write sources
[2/6] Compiling CSocket android.c
[2/6] Compiling CSystem shims.c
[4/6] Compiling CSocket shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/37] Compiling SystemPackage Errno.swift
[8/37] Compiling SystemPackage ErrnoWindows.swift
[9/37] Compiling SystemPackage FileDescriptor.swift
[10/37] Compiling SystemPackage FileHelpers.swift
[11/37] Compiling SystemPackage FileOperations.swift
[12/37] Emitting module SystemPackage
[13/41] Compiling SystemPackage Constants.swift
[14/41] Compiling SystemPackage Exports.swift
[15/41] Compiling SystemPackage Mocking.swift
[16/41] Compiling SystemPackage RawBuffer.swift
[17/41] Compiling SystemPackage IORing.swift
[18/41] Compiling SystemPackage RawIORequest.swift
[19/41] Compiling SystemPackage Backcompat.swift
[20/41] Compiling SystemPackage CInterop.swift
[21/41] Compiling SystemPackage FilePathWindows.swift
[22/41] Compiling SystemPackage FilePermissions.swift
[23/41] Compiling SystemPackage IOCompletion.swift
[24/41] Compiling SystemPackage IORequest.swift
[25/41] Compiling SystemPackage FilePathSyntax.swift
[26/41] Compiling SystemPackage FilePathTemp.swift
[27/41] Compiling SystemPackage FilePathTempPosix.swift
[28/41] Compiling SystemPackage FilePathTempWindows.swift
[29/41] Compiling SystemPackage FilePath.swift
[30/41] Compiling SystemPackage FilePathComponentView.swift
[31/41] Compiling SystemPackage FilePathComponents.swift
[32/41] Compiling SystemPackage FilePathParsing.swift
[33/41] Compiling SystemPackage FilePathString.swift
[34/41] Compiling SystemPackage Syscalls.swift
[35/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[36/41] Compiling SystemPackage MachPort.swift
[37/41] Compiling SystemPackage PlatformString.swift
[38/41] Compiling SystemPackage SystemString.swift
[39/41] Compiling SystemPackage Util+StringArray.swift
[40/41] Compiling SystemPackage Util.swift
[41/41] Compiling SystemPackage UtilConsumers.swift
[43/83] Compiling Socket IPv6SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[44/83] Compiling Socket LinkLayerSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[45/83] Compiling Socket UnixSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[46/83] Compiling Socket SocketAddressFamily.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[47/83] Compiling Socket SocketDescriptor.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[48/83] Compiling Socket SocketEvent.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[49/88] Compiling Socket SocketFlags.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[50/88] Compiling Socket SocketHelpers.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[51/88] Compiling Socket SocketOperations.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[52/88] Compiling Socket SocketOption.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[53/88] Compiling Socket SocketOptionID.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[54/88] Compiling Socket CInterop.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[55/88] Compiling Socket CSocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[56/88] Compiling Socket Constants.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[57/88] Compiling Socket Errno.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[58/88] Compiling Socket FileChange.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[59/88] Compiling Socket FileEvent.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[60/88] Compiling Socket SocketOptionLevel.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[61/88] Compiling Socket SocketProtocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[62/88] Compiling Socket IPv4Protocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[63/88] Compiling Socket IPv6Protocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[64/88] Compiling Socket LinkLayerProtocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[65/88] Compiling Socket FileFlags.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[66/88] Compiling Socket IOControl.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[67/88] Compiling Socket IODirection.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[68/88] Compiling Socket IOOperations.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[69/88] Compiling Socket IOType.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[70/88] Compiling Socket InternetProtocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[71/88] Compiling Socket MessageFlags.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[72/88] Compiling Socket NetworkInterface.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[73/88] Compiling Socket NetworkOrder.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[74/88] Compiling Socket Poll.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[75/88] Compiling Socket SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[76/88] Compiling Socket IPv4SocketAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[77/88] Compiling Socket Socket.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[78/88] Compiling Socket SocketContinuation.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[79/88] Compiling Socket SocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[80/88] Compiling Socket AsyncSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[81/88] Compiling Socket CFSocketManager.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[82/88] Compiling Socket CInternetAddress.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/88] Emitting module Socket
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[84/88] Compiling Socket UnixProtocol.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[85/88] Compiling Socket SocketType.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[86/88] Compiling Socket Syscalls.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[87/88] Compiling Socket TCPSocketOption.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
[88/88] Compiling Socket Util.swift
/host/spi-builder-workspace/Sources/Socket/Socket.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | @_exported import SystemPackage
 10 |
BUILD FAILURE 6.2 wasm