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 ShellKit, reference 1.6.0 (2b8a0d), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 01:21:09 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.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/einstore/shellkit.git
Reference: 1.6.0
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/einstore/shellkit
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 2b8a0df mocking capability
Cloned https://github.com/einstore/shellkit.git
Revision (git rev-parse @):
2b8a0df6edcf9b9d55474e92baef4ea61baca1cb
SUCCESS checkout https://github.com/einstore/shellkit.git at 1.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/einstore/shellkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-nio.git
Fetching https://github.com/Einstore/Shout.git
Fetching https://github.com/Einstore/WebErrorKit.git
[1/28] Fetching weberrorkit
[12/440] Fetching weberrorkit, shout
[424/76767] Fetching weberrorkit, shout, swift-nio
Fetched https://github.com/Einstore/WebErrorKit.git from cache (3.94s)
Fetched https://github.com/Einstore/Shout.git from cache (3.94s)
Fetched https://github.com/apple/swift-nio.git from cache (4.03s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (6.55s)
Fetching https://github.com/IBM-Swift/BlueSocket
Fetching https://github.com/jakeheis/CSSH
[1/26] Fetching cssh
[12/2968] Fetching cssh, bluesocket
Fetched https://github.com/jakeheis/CSSH from cache (0.33s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.36s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (0.89s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.44s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.41s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.90s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[630/6225] Fetching swift-atomics, swift-system
[6094/22847] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
[2826/16622] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.75s)
Creating working copy for https://github.com/Einstore/Shout.git
Working copy of https://github.com/Einstore/Shout.git resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/Einstore/WebErrorKit.git
Working copy of https://github.com/Einstore/WebErrorKit.git resolved at 0.0.1
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
Building for debugging...
[0/29] Write sources
[18/29] Compiling CNIOWindows shim.c
[19/29] Compiling _AtomicsShims.c
[20/29] Compiling CNIOWindows WSAStartup.c
[21/29] Write sources
[22/29] Compiling CNIODarwin shim.c
[23/29] Compiling CNIOLinux shim.c
[24/29] Compiling CNIOLinux liburing_shims.c
[25/29] Compiling CNIOWASI CNIOWASI.c
[26/29] Write swift-version-24593BA9C3E375BF.txt
[28/79] Emitting module _NIODataStructures
[28/79] Compiling c-nioatomics.c
[29/79] Compiling c-atomics.c
[31/85] Compiling WebErrorKit WebErrorContent.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[32/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/85] Compiling InternalCollectionsUtilities Descriptions.swift
[34/85] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[35/86] Emitting module _NIOBase64
[36/86] Compiling _NIOBase64 Base64.swift
[37/87] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/87] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/87] Compiling Atomics AtomicReference.swift
[42/87] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[43/87] Compiling InternalCollectionsUtilities Debugging.swift
[45/89] Compiling WebErrorKit WebError+RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[46/89] Compiling WebErrorKit WebError+Serializable.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[47/89] Compiling Atomics ManagedAtomic.swift
[48/89] Compiling Atomics ManagedAtomicLazyReference.swift
[49/89] Compiling Atomics UnsafeAtomic.swift
[50/89] Compiling Atomics UnsafeAtomicLazyReference.swift
[51/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[53/89] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/89] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[56/89] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[57/89] Compiling WebErrorKit Exports.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/89] Emitting module WebErrorKit
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[59/89] Compiling Socket SocketProtocols.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[60/89] Emitting module InternalCollectionsUtilities
[61/89] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/89] Compiling InternalCollectionsUtilities Integer rank.swift
[65/89] Compiling WebErrorKit SerializableWebError.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[66/89] Compiling WebErrorKit String+Codify.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[67/89] Compiling WebErrorKit WebError.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/89] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[69/89] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
  25 | #endif
  26 |
  27 | import Foundation
     |        `- error: no such module 'Foundation'
  28 |
  29 | // MARK: Socket
[74/89] Emitting module Atomics
[78/89] Compiling _NIODataStructures PriorityQueue.swift
[79/89] Emitting module NIOConcurrencyHelpers
[80/89] Compiling _NIODataStructures _TinyArray.swift
BUILD FAILURE 6.2 wasm