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 NIOErrorKit, reference 0.0.1 (740848), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 00:52:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/einstore/nioerrorkit.git
Reference: 0.0.1
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/nioerrorkit
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 7408484 initial upload
Cloned https://github.com/einstore/nioerrorkit.git
Revision (git rev-parse @):
74084844f7def572171311f450cb7d3df0da87c4
SUCCESS checkout https://github.com/einstore/nioerrorkit.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/einstore/nioerrorkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Einstore/WebErrorKit.git
[1/28] Fetching weberrorkit
[17/76355] Fetching weberrorkit, swift-nio
Fetched https://github.com/Einstore/WebErrorKit.git from cache (6.02s)
Fetched https://github.com/apple/swift-nio.git from cache (6.12s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (6.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.40s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/4428] Fetching swift-system
[887/6225] Fetching swift-system, swift-atomics
[2719/22847] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
[4623/18419] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.81s)
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.09s)
Creating working copy for https://github.com/Einstore/WebErrorKit.git
Working copy of https://github.com/Einstore/WebErrorKit.git resolved at 0.0.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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
Building for debugging...
[0/26] Write sources
[12/26] Compiling _AtomicsShims.c
[13/26] Compiling CNIOWindows shim.c
[14/26] Compiling CNIOWindows WSAStartup.c
[15/26] Compiling CNIOLinux shim.c
[16/26] Compiling CNIOWASI CNIOWASI.c
[17/26] Compiling CNIOLinux liburing_shims.c
[17/26] Write sources
[19/26] Write swift-version-24593BA9C3E375BF.txt
[20/26] Compiling CNIOLLHTTP c_nio_http.c
[21/26] Compiling CNIODarwin shim.c
[22/28] Compiling CNIOLLHTTP c_nio_api.c
[23/72] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/72] Compiling c-nioatomics.c
[25/72] Compiling c-atomics.c
[27/78] Compiling Atomics UnsafeAtomic.swift
[28/78] Compiling Atomics UnsafeAtomicLazyReference.swift
[29/80] Compiling Atomics AtomicInteger.swift
[30/80] Compiling Atomics AtomicOptionalWrappable.swift
[31/80] Compiling Atomics AtomicReference.swift
[32/80] Emitting module InternalCollectionsUtilities
[33/81] Compiling Atomics AtomicStorage.swift
[34/81] Compiling Atomics AtomicValue.swift
[35/81] 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)
[36/81] 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 |
[37/81] Compiling Atomics AtomicMemoryOrderings.swift
[38/81] Compiling Atomics DoubleWord.swift
[39/81] Compiling Atomics ManagedAtomic.swift
[40/81] Compiling Atomics ManagedAtomicLazyReference.swift
[41/81] Emitting module Atomics
[42/81] Compiling Atomics OptionalRawRepresentable.swift
[43/81] Compiling Atomics RawRepresentable.swift
[44/81] Compiling Atomics AtomicBool.swift
[45/81] Compiling _NIODataStructures PriorityQueue.swift
[48/81] Compiling Atomics IntegerConformances.swift
[49/81] Compiling Atomics PointerConformances.swift
[50/81] Compiling Atomics Primitives.native.swift
[51/81] 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 |
[56/81] 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 |
[61/81] 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 |
[62/81] 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 |
[63/81] 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 |
[64/81] 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 |
[67/81] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/81] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[69/82] Emitting module _NIODataStructures
[70/82] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm